From 93dbf1d86cd9aff11f6ee41f321976e1214a711b Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 10 Nov 2024 10:00:35 +0800 Subject: vim-patch:818c641: runtime(vim): Update base-syntax file, improve class, enum and interface highlighting - Enable folding of class, enum and interface declarations. - Highlight constructor names with the Function highlight group, like other special methods. - Mark function definitions using special method names as errors. - Highlight :type arguments. fixes: vim/vim#14393#issuecomment-2042796198. closes: vim/vim#13810 https://github.com/vim/vim/commit/818c641b6fac73b574a2b760213f515cee9a3c8e Co-authored-by: Doug Kearns --- runtime/doc/syntax.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 9d7dbd39c4..b9daff84f3 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -3493,7 +3493,7 @@ This option is disabled by default. 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' : augroups + g:vimsyn_folding =~ 'a' : fold augroups g:vimsyn_folding =~ 'f' : fold functions g:vimsyn_folding =~ 'h' : fold heredocs g:vimsyn_folding =~ 'l' : fold Lua script -- cgit