CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 03:32:31 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/"440c8d6b289199f98f2cc6f7bd665709"
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 wss://alive-staging.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=jjqhj5C2nDoNQf3WFeWMr0CGkrFcUXQ5RlMMvg%2B0rgmMgTmOpTXx5H%2FLXJtNW7QIdj4Y76xDzKeDp6suyFp%2FTYiAi8EMQp73oTV5ZVXLrCJcsRkQEn0bzWOgoUPUVMdk0ljRjGg39ik%2F7hhpT21GhsedcPHAOGi%2BRzfirjRVF%2FUsyrc3eKDcdTOpAqUBCdxuC1BtA5%2BxA4gfdu2KuKUEIynE3qMB%2FRMhl%2FA6oeio4sTpWXJ%2FpBrfE7tqz4VVZcJdDsGiLshvJ%2Foe5Nteaagf0g%3D%3D--Hg38yRwMn6o%2FJSlC--CekmwJesXml5zE6bf82%2BSQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.449470918.1753932750; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 03:32:30 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 03:32:30 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE86:F2966:18CD08:24D91B:688AE3CE
runtime(vim): Update base syntax and generator, improve command/funct… · vim/vim@2f7c957 · GitHub
Copy file name to clipboardExpand all lines: runtime/syntax/generator/gen_syntax_vim.vim
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_function_call_01.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_02.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_09.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_10.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_11.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_12.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_13.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_14.dump
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit 2f7c957
runtime(vim): Update base syntax and generator, improve command/function distinction
- Match Ex command modifiers and functions with the same name correctly.
E.g., :browse and browse().
- Match full :eval command.
closes: #17789
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>1 parent 2e58b76 commit 2f7c957Copy full SHA for 2f7c957
File tree
Expand file treeCollapse file tree
31 files changed
+171
-71
lines changedFilter options
- runtime/syntax
- generator
- testdir
- dumps
- input
Expand file treeCollapse file tree
31 files changed
+171
-71
lines changedruntime/syntax/generator/gen_syntax_vim.vim
Copy file name to clipboardExpand all lines: runtime/syntax/generator/gen_syntax_vim.vim+44-28Lines changed: 44 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
246 | 262 |
| |
247 |
| - | |
248 |
| - | |
| 263 | + | |
249 | 264 |
| |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
258 | 268 |
| |
259 |
| - | |
260 |
| - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
261 | 273 |
| |
262 |
| - | |
263 | 274 |
| |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
| 275 | + | |
| 276 | + | |
269 | 277 |
| |
| 278 | + | |
270 | 279 |
| |
271 | 280 |
| |
272 | 281 |
| |
| |||
296 | 305 |
| |
297 | 306 |
| |
298 | 307 |
| |
| 308 | + | |
299 | 309 |
| |
| 310 | + | |
300 | 311 |
| |
301 | 312 |
| |
302 | 313 |
| |
| 314 | + | |
303 | 315 |
| |
304 | 316 |
| |
305 | 317 |
| |
| |||
319 | 331 |
| |
320 | 332 |
| |
321 | 333 |
| |
| 334 | + | |
322 | 335 |
| |
323 | 336 |
| |
324 | 337 |
| |
| |||
333 | 346 |
| |
334 | 347 |
| |
335 | 348 |
| |
| 349 | + | |
336 | 350 |
| |
337 | 351 |
| |
338 | 352 |
| |
| |||
378 | 392 |
| |
379 | 393 |
| |
380 | 394 |
| |
| 395 | + | |
381 | 396 |
| |
382 | 397 |
| |
| 398 | + | |
383 | 399 |
| |
384 | 400 |
| |
385 | 401 |
| |
|
runtime/syntax/generator/vim.vim.base
Copy file name to clipboardExpand all lines: runtime/syntax/generator/vim.vim.base+26-3Lines changed: 26 additions & 3 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 |
| |
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 |
| |
38 | 46 |
| |
39 | 47 |
| |
40 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
41 | 53 |
| |
42 | 54 |
| |
43 | 55 |
| |
| |||
230 | 242 |
| |
231 | 243 |
| |
232 | 244 |
| |
233 |
| - | |
| 245 | + | |
234 | 246 |
| |
235 | 247 |
| |
236 | 248 |
| |
| |||
1245 | 1257 |
| |
1246 | 1258 |
| |
1247 | 1259 |
| |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1248 | 1270 |
| |
1249 | 1271 |
| |
1250 | 1272 |
| |
| |||
2067 | 2089 |
| |
2068 | 2090 |
| |
2069 | 2091 |
| |
2070 |
| - | |
| 2092 | + | |
2071 | 2093 |
| |
2072 | 2094 |
| |
2073 | 2095 |
| |
| |||
2224 | 2246 |
| |
2225 | 2247 |
| |
2226 | 2248 |
| |
| 2249 | + | |
2227 | 2250 |
| |
2228 | 2251 |
| |
2229 | 2252 |
| |
|
runtime/syntax/testdir/dumps/vim9_function_call_01.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_01.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
runtime/syntax/testdir/dumps/vim9_function_call_02.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_02.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
runtime/syntax/testdir/dumps/vim9_function_call_09.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_09.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
runtime/syntax/testdir/dumps/vim9_function_call_10.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_10.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
runtime/syntax/testdir/dumps/vim9_function_call_11.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_11.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
runtime/syntax/testdir/dumps/vim9_function_call_12.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_12.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
runtime/syntax/testdir/dumps/vim9_function_call_13.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_13.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
runtime/syntax/testdir/dumps/vim9_function_call_14.dump
Copy file name to clipboardExpand all lines: runtime/syntax/testdir/dumps/vim9_function_call_14.dump+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + |
You can’t perform that action at this time.
0 commit comments