runtime(vim): Update syntax file (#13919)
Commit:
https://github.com/vim/vim/commit/b418a51933bb606e85f5288eedb866b73b8f072e
Author: dkearns <
dougk...@gmail.com>
Date: Sat Jan 27 21:24:45 2024 +1100
runtime(vim): Update syntax file (
https://github.com/vim/vim/issues/13919)
Add foreach() function.
Signed-off-by: Doug Kearns <
dougk...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 73884cc7f..72a0d215a 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