]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(vim): Update syntax file (#13919)
authordkearns <dougkearns@gmail.com>
Sat, 27 Jan 2024 10:24:45 +0000 (21:24 +1100)
committerGitHub <noreply@github.com>
Sat, 27 Jan 2024 10:24:45 +0000 (11:24 +0100)
Add foreach() function.

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

index 73884cc7fd15e3b4ac5ce7be78c062381dc92563..72a0d215ad1a2c4037ae370786f0e97a7a63ae1e 100644 (file)
@@ -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