runtime(zsh): Update runtime files

Commit: 
https://github.com/vim/vim/commit/c45e16a939b5d924d13bf234a5905b5b599884fc
Author: Christian Brabandt <[email protected]>
Date:   Wed Jan 7 21:53:13 2026 +0000

    runtime(zsh): Update runtime files
    
    closes: https://github.com/vim/vim/issues/19113
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/ftplugin/zsh.vim b/runtime/ftplugin/zsh.vim
index 65e9f377b..850bef055 100644
--- a/runtime/ftplugin/zsh.vim
+++ b/runtime/ftplugin/zsh.vim
@@ -2,11 +2,9 @@
 " Language:             Zsh shell script
 " Maintainer:           Christian Brabandt <[email protected]>
 " Previous Maintainer:  Nikolai Weibull <[email protected]>
-" Latest Revision:      2024 Sep 19
+" Latest Revision:      2025 Jul 23
 " License:              Vim (see :h license)
 " Repository:           https://github.com/chrisbra/vim-zsh
-" Last Change:
-" 2025 Jul 23 by Vim Project (use :hor term #17822)
 
 if exists("b:did_ftplugin")
   finish
@@ -20,9 +18,14 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t 
formatoptions+=croql
 
 let b:undo_ftplugin = "setl com< cms< fo< "
 
+if get(g:, 'zsh_fold_enable', 0)
+    setlocal foldmethod=syntax
+    let b:undo_ftplugin .= "fdm< "
+endif
+
 if executable('zsh') && &shell !~# '/\%(nologin\|false\)$'
   if exists(':terminal') == 2
-    command! -buffer -nargs=1 ZshKeywordPrg silent exe ':hor term zsh -c 
"autoload -Uz run-help; run-help <args>"'
+    command! -buffer -nargs=1 ZshKeywordPrg silent exe ':hor :term zsh -c 
"autoload -Uz run-help; run-help <args>"'
   else
     command! -buffer -nargs=1 ZshKeywordPrg echo system('MANPAGER= zsh -c 
"autoload -Uz run-help; run-help <args> 2>/dev/null"')
   endif
diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim
index 04b39aeac..3bd0b87b7 100644
--- a/runtime/syntax/zsh.vim
+++ b/runtime/syntax/zsh.vim
@@ -2,7 +2,7 @@
 " Language:             Zsh shell script
 " Maintainer:           Christian Brabandt <[email protected]>
 " Previous Maintainer:  Nikolai Weibull <[email protected]>
-" Latest Revision:      2024 Jan 04
+" Latest Revision:      2025 Feb 18
 " License:              Vim (see :h license)
 " Repository:           https://github.com/chrisbra/vim-zsh
 
@@ -37,9 +37,6 @@ endfunction
 let s:contained=s:ContainedGroup()
 
 syn iskeyword @,48-57,_,192-255,#,-
-if get(g:, 'zsh_fold_enable', 0)
-    setlocal foldmethod=syntax
-endif
 
 syn match   zshQuoted           '\.'
 syn match   zshPOSIXQuoted      '\[xX][0-9a-fA-F]\{1,2}'
@@ -157,6 +154,8 @@ syn case ignore
 syn match   zshOptStart
             \ / ^\s*%(%(un)?setopt|set\s+[-+]o)/
             \ nextgroup=zshOption skipwhite
+
+" this list is generated using the make-options.zsh script and the zsh source 
repository
 syn keyword zshOption nextgroup=zshOption,zshComment skipwhite contained
            \ auto_cd no_auto_cd autocd noautocd auto_pushd no_auto_pushd 
autopushd noautopushd cdable_vars
            \ no_cdable_vars cdablevars nocdablevars cd_silent no_cd_silent 
cdsilent nocdsilent chase_dots
@@ -193,16 +192,16 @@ syn keyword zshOption nextgroup=zshOption,zshComment 
skipwhite contained
            \ nonumericglobsort rc_expand_param no_rc_expand_param 
rcexpandparam norcexpandparam rematch_pcre
            \ no_rematch_pcre rematchpcre norematchpcre sh_glob no_sh_glob 
shglob noshglob unset no_unset nounset
            \ warn_create_global no_warn_create_global warncreateglobal 
nowarncreateglobal warn_nested_var
-           \ no_warn_nested_var warnnestedvar no_warnnestedvar append_history 
no_append_history appendhistory
-           \ noappendhistory bang_hist no_bang_hist banghist nobanghist 
extended_history no_extended_history
-           \ extendedhistory noextendedhistory hist_allow_clobber 
no_hist_allow_clobber histallowclobber
-           \ nohistallowclobber hist_beep no_hist_beep histbeep nohistbeep 
hist_expire_dups_first
-           \ no_hist_expire_dups_first histexpiredupsfirst 
nohistexpiredupsfirst hist_fcntl_lock
-           \ no_hist_fcntl_lock histfcntllock nohistfcntllock 
hist_find_no_dups no_hist_find_no_dups
-           \ histfindnodups nohistfindnodups hist_ignore_all_dups 
no_hist_ignore_all_dups histignorealldups
-           \ nohistignorealldups hist_ignore_dups no_hist_ignore_dups 
histignoredups nohistignoredups
-           \ hist_ignore_space no_hist_ignore_space histignorespace 
nohistignorespace hist_lex_words
-           \ no_hist_lex_words histlexwords nohistlexwords hist_no_functions 
no_hist_no_functions
+           \ no_warn_nested_var warnnestedvar no_warnnestedvar nowarnnestedvar 
append_history no_append_history
+           \ appendhistory noappendhistory bang_hist no_bang_hist banghist 
nobanghist extended_history
+           \ no_extended_history extendedhistory noextendedhistory 
hist_allow_clobber no_hist_allow_clobber
+           \ histallowclobber nohistallowclobber hist_beep no_hist_beep 
histbeep nohistbeep
+           \ hist_expire_dups_first no_hist_expire_dups_first 
histexpiredupsfirst nohistexpiredupsfirst
+           \ hist_fcntl_lock no_hist_fcntl_lock histfcntllock nohistfcntllock 
hist_find_no_dups
+           \ no_hist_find_no_dups histfindnodups nohistfindnodups 
hist_ignore_all_dups no_hist_ignore_all_dups
+           \ histignorealldups nohistignorealldups hist_ignore_dups 
no_hist_ignore_dups histignoredups
+           \ nohistignoredups hist_ignore_space no_hist_ignore_space 
histignorespace nohistignorespace
+           \ hist_lex_words no_hist_lex_words histlexwords nohistlexwords 
hist_no_functions no_hist_no_functions
            \ histnofunctions nohistnofunctions hist_no_store no_hist_no_store 
histnostore nohistnostore
            \ hist_reduce_blanks no_hist_reduce_blanks histreduceblanks 
nohistreduceblanks hist_save_by_copy
            \ no_hist_save_by_copy histsavebycopy nohistsavebycopy 
hist_save_no_dups no_hist_save_no_dups
@@ -334,7 +333,7 @@ hi def link zshKeyword          Keyword
 hi def link zshFunction         None
 hi def link zshKSHFunction      zshFunction
 hi def link zshHereDoc          String
-hi def link zshOperator         None
+hi def link zshOperator         Operator
 hi def link zshRedir            Operator
 hi def link zshVariable         None
 hi def link zshVariableDef      zshVariable

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vdbZV-001bJf-Ck%40256bit.org.

Raspunde prin e-mail lui