diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-11-10 10:00:35 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-11-10 10:03:20 +0800 |
commit | 93dbf1d86cd9aff11f6ee41f321976e1214a711b (patch) | |
tree | 9f03abc5ae7ee019cd2ce39431d53b6da6bed022 /runtime/doc/syntax.txt | |
parent | e9dc9be469601362dc3e568df08ee45231107323 (diff) | |
download | rneovim-93dbf1d86cd9aff11f6ee41f321976e1214a711b.tar.gz rneovim-93dbf1d86cd9aff11f6ee41f321976e1214a711b.tar.bz2 rneovim-93dbf1d86cd9aff11f6ee41f321976e1214a711b.zip |
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 <dougkearns@gmail.com>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |