neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 7dbf347dda0bfef543e2189730c34c37bf874e25
parent 5aaee7d2afdd41c95082c8072f96edc78bd6b328
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu,  7 Aug 2025 22:31:18 +0800

vim-patch:9c4de84: runtime(doc): Update ft-vim-syntax documentation (#35212)

g:vimsyn_folding and g:vimsyn_embed regexps need to match case.

closes: vim/vim#17914

https://github.com/vim/vim/commit/9c4de84b2dce263edbeafb38eaaf914c83084765

Co-authored-by: veotos <veotos@users.noreply.github.com>
Diffstat:
Mruntime/doc/syntax.txt | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt @@ -3555,8 +3555,8 @@ improve screen updating rates (see |:syn-sync| for more on this). > The g:vimsyn_embed option allows users to select what, if any, types of embedded script highlighting they wish to have. > - g:vimsyn_embed == 0 : disable (don't embed any scripts) - g:vimsyn_embed == 'lpPr' : support embedded Lua, Perl, Python and Ruby + g:vimsyn_embed == 0 : disable (don't embed any scripts) + g:vimsyn_embed ==# 'lpPr' : support embedded Lua, Perl, Python and Ruby < By default, g:vimsyn_embed is unset, and embedded Lua scripts are supported. @@ -3564,13 +3564,13 @@ By default, g:vimsyn_embed is unset, and embedded Lua scripts are supported. Some folding is now supported with when 'foldmethod' is set to "syntax": > g:vimsyn_folding == 0 or doesn't exist: no syntax-based folding - g:vimsyn_folding =~ 'a' : fold augroups - g:vimsyn_folding =~ 'f' : fold functions - g:vimsyn_folding =~ 'h' : fold let heredocs - g:vimsyn_folding =~ 'l' : fold Lua heredocs - g:vimsyn_folding =~ 'p' : fold Perl heredocs - g:vimsyn_folding =~ 'P' : fold Python heredocs - g:vimsyn_folding =~ 'r' : fold Ruby heredocs + g:vimsyn_folding =~# 'a' : fold augroups + g:vimsyn_folding =~# 'f' : fold functions + g:vimsyn_folding =~# 'h' : fold let heredocs + g:vimsyn_folding =~# 'l' : fold Lua heredocs + g:vimsyn_folding =~# 'p' : fold Perl heredocs + g:vimsyn_folding =~# 'P' : fold Python heredocs + g:vimsyn_folding =~# 'r' : fold Ruby heredocs < By default, g:vimsyn_folding is unset. Concatenate the indicated characters