]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(vim): Update syntax file, fix missing for highlight (#13668)
authordkearns <dougkearns@gmail.com>
Tue, 12 Dec 2023 15:47:43 +0000 (02:47 +1100)
committerGitHub <noreply@github.com>
Tue, 12 Dec 2023 15:47:43 +0000 (16:47 +0100)
Fix highlighting of :for command.  Link the vimFor syntax group to the
vimCommand highlight group.

Error introduced in commit f686921

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/dumps/vim_variables_07.dump
runtime/syntax/testdir/dumps/vim_variables_99.dump
runtime/syntax/vim.vim

index 8be0fa8020bf6a9d58bca522dfd531ef9a08982b..f0288f0ade89bbd4e38a8a4cdbf84c8db31a8862 100644 (file)
 @75
 |"+0#0000e05&| |:|f|o|r| +0#0000000&@68
 @75
-|f|o|r| |f+0#00e0e07&|o@1| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @59
+|f+0#af5f00255&|o|r| +0#0000000&|f+0#00e0e07&|o@1| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @59
 |e+0#af5f00255&|n|d|f|o|r| +0#0000000&@68
 @75
-|f|o|r| |[|f+0#00e0e07&|o@1|,+0#0000000&| |b+0#00e0e07&|a|r|]+0#0000000&| |i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @52
+|f+0#af5f00255&|o|r| +0#0000000&|[|f+0#00e0e07&|o@1|,+0#0000000&| |b+0#00e0e07&|a|r|]+0#0000000&| |i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @52
 |e+0#af5f00255&|n|d|f|o|r| +0#0000000&@68
 |~+0#4040ff13&| @73
 |~| @73
index 6f3e1c444390d46b7cd8b35aaa30653b9d09cbd1..003603ec30152f9157c6e703c65d4ba7122414c2 100644 (file)
@@ -12,9 +12,9 @@
 @75
 |"+0#0000e05&| |:|f|o|r| +0#0000000&@68
 @75
-|f|o|r| |f+0#00e0e07&|o@1| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @59
+|f+0#af5f00255&|o|r| +0#0000000&|f+0#00e0e07&|o@1| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @59
 |e+0#af5f00255&|n|d|f|o|r| +0#0000000&@68
 @75
-|f|o|r| |[|f+0#00e0e07&|o@1|,+0#0000000&| |b+0#00e0e07&|a|r|]+0#0000000&| |i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @52
+|f+0#af5f00255&|o|r| +0#0000000&|[|f+0#00e0e07&|o@1|,+0#0000000&| |b+0#00e0e07&|a|r|]+0#0000000&| |i+0#af5f00255&|n| +0#0000000&|e|x|p|r| @52
 >e+0#af5f00255&|n|d|f|o|r| +0#0000000&@68
 @57|1|3|8|,|1| @8|B|o|t| 
index 5697ce3f6daf875f391c71755146983a37ada1a3..c1706e0f1834fdaf8ad7927333e2726f07a4fc49 100644 (file)
@@ -938,6 +938,7 @@ if !exists("skip_vim_syntax_inits")
  hi def link vimFuncEcho       vimCommand
  hi def link vimHiCtermul      vimHiTerm
  hi def link vimFold   Folded
+ hi def link vimFor    vimCommand
  hi def link vimFTCmd  vimCommand
  hi def link vimFTOption       vimSynType
  hi def link vimFuncKey        vimCommand