CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:36:59 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/vim/vim.git
etag: W/"105b115dc1f64ddbdac7f9925f575871"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ehDfOOG61gPwrOe5n9yEKcGLXvEMT6AMzXMbGZc%2FCw4ljlzP9SFZHEixxtDGYN6OhGOfzVS59zvnlzJsX1HCm1TxfFdWn13dAzl4ZP2nQv%2BT%2BnTPYvOtxpkvumEvu7oonfb5XfGENOOqmRnC7hgf9GZEOoe4ifrrLUYWW9A37SsObInPUr02Co506pS0rNegC%2Fy31t6SqqvEf4aQyISXB0oVkycIfLDjeKV2b%2FlX1%2BwwVgJsTuL9G%2FX%2FkQa1Tpr8HALD%2FWLejQfQAAooPAHEHA%3D%3D--2JVJ%2FQnz4GG%2FOMET--32VkQoyzUFnRkxpbBxZPBw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1510619481.1752935818; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:36:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:36:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: ABB6:134C64:85398B:AD861D:687BAD8A
runtime(vim): Update base syntax, improve :match highlighting · vim/vim@ce1d196 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: runtime/syntax/generator/vim.vim.base
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_ex_commands_00.dump
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit ce1d196
runtime(vim): Update base syntax, improve :match highlighting
- Match the range prefix separately as a count.
- Match an explicit count of 1, rarely used but seen in the wild.
- Allow whitespace between the count and command.
closes: #17717
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>1 parent 2ab4f90 commit ce1d196Copy full SHA for ce1d196
File tree
Expand file treeCollapse file tree
145 files changed
+950
-898
lines changedFilter options
- runtime/syntax
- generator
- testdir
- dumps
- input
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
145 files changed
+950
-898
lines changedruntime/syntax/generator/vim.vim.base
Copy file name to clipboardExpand all lines: runtime/syntax/generator/vim.vim.base+11-5Lines changed: 11 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
| 238 | + | |
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
| |||
1439 | 1439 |
| |
1440 | 1440 |
| |
1441 | 1441 |
| |
1442 |
| - | |
1443 |
| - | |
| 1442 | + | |
| 1443 | + | |
1444 | 1444 |
| |
1445 | 1445 |
| |
1446 | 1446 |
| |
1447 |
| - | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
1448 | 1454 |
| |
1449 | 1455 |
| |
1450 | 1456 |
| |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_00.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_ex_commands_00.dump+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_01.dump
Copy file name to clipboard+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_02.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_03.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_04.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_05.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_06.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_07.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
runtime/syntax/testdir/dumps/vim9_ex_commands_08.dump
Copy file name to clipboard+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
4 | 2 |
| |
5 | 3 |
| |
6 |
| - | |
| 4 | + | |
7 | 5 |
| |
8 |
| - | |
| 6 | + | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
You can’t perform that action at this time.
0 commit comments