diff runtime/syntax/vim.vim @ 33922:90806c9d3a1f

runtime(vim): Update syntax file, fix missing for highlight (#13668) Commit: https://github.com/vim/vim/commit/1c97b5c0c0b4a60d652b78da4470aeb8a7509700 Author: dkearns <dougkearns@gmail.com> Date: Wed Dec 13 02:47:43 2023 +1100 runtime(vim): Update syntax file, fix missing for highlight (https://github.com/vim/vim/issues/13668) 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>
author Christian Brabandt <cb@256bit.org>
date Tue, 12 Dec 2023 17:00:11 +0100
parents b196646aa8a8
children 9dafb0ec2e26
line wrap: on
line diff
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -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