summaryrefslogtreecommitdiffstats
path: root/runtime/syntax
diff options
context:
space:
mode:
authordkearns <dougkearns@gmail.com>2024-01-27 21:24:45 +1100
committerGitHub <noreply@github.com>2024-01-27 11:24:45 +0100
commitb418a51933bb606e85f5288eedb866b73b8f072e (patch)
tree10922074e3cfc2234ea6675ed60671419ce16694 /runtime/syntax
parent4d49643c3c8237db68f7717b3600459fad911291 (diff)
runtime(vim): Update syntax file (#13919)
Add foreach() function. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/vim.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 73884cc7fd..72a0d215ad 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -12,6 +12,7 @@
" 2024 Jan 15 by Vim Project (:hi ctermfont attribute)
" 2024 Jan 23 by Vim Project (add :[23]match commands)
" 2024 Jan 25 by Vim Project (WinNewPre autocommand)
+" 2024 Jan 27 by Vim Project (add foreach() function)
" Version: 9.0-25
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
" Automatically generated keyword lists: {{{1
@@ -99,6 +100,7 @@ syn keyword vimFuncName contained appendbufline assert_beeps assert_inrange asse
"--- syntax here and above generated by mkvimvim ---
syn keyword vimCommand contained 2mat[ch] 3mat[ch]
+syn keyword vimFuncName contained foreach
" Special Vim Highlighting (not automatic) {{{1