CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 02:24:16 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/neovim/neovim.git
etag: W/"76f263e0504f53fabb6f3afeb0d5d071"
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=jGF%2BwmKr%2F9lOHIMQmX9zEfAhpSgmKDZrstPa5MPClw55sV%2FaKTLvhmRWI7fFm3VBTpf%2Fi8RMK1a%2BBENjx1laj30iqqMCzfasmWEgVDriy%2Fz3R1S1PsUjJkVCPoTTmREDvvLgRtXFoJ7O%2FFbWRwHnGFSjTOfgINhJ1nSy4Mrv61BfD80v%2BET%2Fo8t5ulcZeQcoXw7v64nRk4hkIsAU56eGNsbDvArMb08GHk7aOqS0pcu2PXPuxs0tHe%2BJShGbmimFD9H%2F1FbrYzZQl8AP4Xvxrw%3D%3D--JX6rf7JYyFIvY1YD--39%2FitHV3J2u7aMlfiZ%2BxMQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1140615581.1753669455; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:24:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:24:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9CAC:2E9E4D:61EA5:95C98:6886DF4F
fix(highlight): remove syncolor.vim · neovim/neovim@9afa0d2 · GitHub
Copy file name to clipboardExpand all lines: runtime/syntax/syncolor.vim
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 9afa0d2
committed
fix(highlight): remove syncolor.vim
Remove syncolor.vim in favor of defining the default highlight groups
directly in `init_highlight`. This approach provides a number of
advantages:
1. The highlights are always defined, regardless of whether or not the
syntax regex engine is enabled.
2. Redundant sourcing of syntax files is eliminated (syncolor.vim was
often sourced multiple times based on how the user's colorscheme file
was written).
3. The syntax highlighting regex engine and the highlight groups
themselves are more fully decoupled.
4. Removal of the confusing `:syntax on` / `:syntax enable` dichotomy
(they now both do the same thing).
This approach also correctly solves a number of bugs related to
highlighting (#15176, #12573, #15205).1 parent c642f3a commit 9afa0d2Copy full SHA for 9afa0d2
File tree
Expand file treeCollapse file tree
6 files changed
+77
-207
lines changedFilter options
- runtime
- doc
- syntax
- src/nvim
- test/unit/viml/expressions
Expand file treeCollapse file tree
6 files changed
+77
-207
lines changed+5-56Lines changed: 5 additions & 56 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 |
| |
34 | 38 |
| |
35 | 39 |
| |
| |||
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 | 49 |
| |
53 | 50 |
| |
54 | 51 |
| |
55 | 52 |
| |
56 | 53 |
| |
57 |
| - | |
58 | 54 |
| |
59 | 55 |
| |
60 | 56 |
| |
| |||
277 | 273 |
| |
278 | 274 |
| |
279 | 275 |
| |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 | 276 |
| |
287 | 277 |
| |
288 | 278 |
| |
| |||
5271 | 5261 |
| |
5272 | 5262 |
| |
5273 | 5263 |
| |
5274 |
| - | |
5275 |
| - | |
5276 |
| - | |
5277 |
| - | |
5278 |
| - | |
5279 |
| - | |
5280 |
| - | |
5281 |
| - | |
5282 |
| - | |
5283 |
| - | |
5284 |
| - | |
5285 |
| - | |
5286 |
| - | |
5287 |
| - | |
5288 |
| - | |
5289 |
| - | |
5290 |
| - | |
5291 |
| - | |
5292 |
| - | |
5293 |
| - | |
5294 |
| - | |
5295 |
| - | |
5296 |
| - | |
5297 |
| - | |
5298 |
| - | |
5299 |
| - | |
5300 |
| - | |
5301 |
| - | |
5302 | 5264 |
| |
5303 | 5265 |
| |
5304 | 5266 |
| |
5305 | 5267 |
| |
5306 |
| - | |
5307 |
| - | |
5308 |
| - | |
5309 |
| - | |
5310 |
| - | |
5311 |
| - | |
5312 |
| - | |
5313 |
| - | |
5314 |
| - | |
5315 |
| - | |
5316 |
| - | |
5317 |
| - | |
5318 |
| - | |
5319 | 5268 |
| |
5320 | 5269 |
| |
5321 | 5270 |
| |
|
runtime/syntax/syncolor.vim
Copy file name to clipboardExpand all lines: runtime/syntax/syncolor.vim-89Lines changed: 0 additions & 89 deletions
This file was deleted.
-5Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 | 17 |
| |
23 | 18 |
| |
24 | 19 |
| |
|
-5Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
372 | 372 |
| |
373 | 373 |
| |
374 | 374 |
| |
375 |
| - | |
376 |
| - | |
377 |
| - | |
378 |
| - | |
379 |
| - | |
380 | 375 |
| |
381 | 376 |
| |
382 | 377 |
| |
|
+46-20Lines changed: 46 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3421 | 3421 |
| |
3422 | 3422 |
| |
3423 | 3423 |
| |
3424 |
| - | |
3425 |
| - | |
3426 |
| - | |
| 3424 | + | |
3427 | 3425 |
| |
3428 | 3426 |
| |
3429 | 3427 |
| |
| |||
3434 | 3432 |
| |
3435 | 3433 |
| |
3436 | 3434 |
| |
3437 |
| - | |
3438 |
| - | |
3439 |
| - | |
| 3435 | + | |
3440 | 3436 |
| |
3441 | 3437 |
| |
3442 | 3438 |
| |
| |||
6057 | 6053 |
| |
6058 | 6054 |
| |
6059 | 6055 |
| |
| 6056 | + | |
| 6057 | + | |
| 6058 | + | |
| 6059 | + | |
| 6060 | + | |
| 6061 | + | |
| 6062 | + | |
| 6063 | + | |
| 6064 | + | |
| 6065 | + | |
| 6066 | + | |
| 6067 | + | |
| 6068 | + | |
| 6069 | + | |
| 6070 | + | |
| 6071 | + | |
| 6072 | + | |
| 6073 | + | |
| 6074 | + | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
| 6080 | + | |
| 6081 | + | |
6060 | 6082 |
| |
6061 | 6083 |
| |
6062 | 6084 |
| |
| |||
6090 | 6112 |
| |
6091 | 6113 |
| |
6092 | 6114 |
| |
| 6115 | + | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
| 6119 | + | |
| 6120 | + | |
| 6121 | + | |
| 6122 | + | |
| 6123 | + | |
6093 | 6124 |
| |
6094 | 6125 |
| |
6095 | 6126 |
| |
| |||
6123 | 6154 |
| |
6124 | 6155 |
| |
6125 | 6156 |
| |
| 6157 | + | |
| 6158 | + | |
| 6159 | + | |
| 6160 | + | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
| 6164 | + | |
| 6165 | + | |
6126 | 6166 |
| |
6127 | 6167 |
| |
6128 | 6168 |
| |
| |||
6398 | 6438 |
| |
6399 | 6439 |
| |
6400 | 6440 |
| |
6401 |
| - | |
6402 |
| - | |
6403 |
| - | |
6404 |
| - | |
6405 |
| - | |
6406 |
| - | |
6407 |
| - | |
6408 |
| - | |
6409 |
| - | |
6410 |
| - | |
6411 |
| - | |
6412 |
| - | |
6413 |
| - | |
6414 |
| - | |
6415 | 6441 |
| |
6416 | 6442 |
| |
6417 | 6443 |
| |
|
You can’t perform that action at this time.
0 commit comments