changeset 34224:753702283749

runtime(vim): Update syntax file (#13919) Commit: https://github.com/vim/vim/commit/b418a51933bb606e85f5288eedb866b73b8f072e Author: dkearns <dougkearns@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 <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Jan 2024 11:30:09 +0100
parents 89a385d68777
children 38c766478a58
files runtime/syntax/vim.vim
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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	append
 "--- 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