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: #14393#issuecomment-2042796198.
closes: #13810

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2024-10-06 17:00:48 +02:00
committed by Christian Brabandt
parent ec0229414b
commit 818c641b6f
152 changed files with 1895 additions and 1018 deletions

View File

@ -1,11 +1,9 @@
|:+0&#ffffff0|l+0#af5f00255&|c|l|o|s|e| +0#0000000&@67
|:|l+0#af5f00255&|c|s|c|o|p|e| +0#0000000&@66
|:|l+0#af5f00255&|d|o| +0#0000000&@70
|:+0&#ffffff0|l+0#af5f00255&|d|o| +0#0000000&@70
|:|l+0#af5f00255&|e|f|t| +0#0000000&@69
|:|l+0#af5f00255&|e|f|t|a|b|o|v|e| +0#0000000&@64
>:|l+0#af5f00255&|e|g|a|c|y| +0#0000000&@67
|:|l+0#af5f00255&|e|g|a|c|y| +0#0000000&@67
|:|l+0#af5f00255&|e|x|p|r| +0#0000000&@68
|:|l+0#af5f00255&|f|d|o| +0#0000000&@69
>:|l+0#af5f00255&|f|d|o| +0#0000000&@69
|:|l+0#af5f00255&|f|i|l|e| +0#0000000&@68
|:|l+0#af5f00255&|f|i|r|s|t| +0#0000000&@67
|:|l+0#af5f00255&|g|e|t|b|u|f@1|e|r| +0#0000000&@63
@ -17,4 +15,6 @@
|:|l+0#af5f00255&|h|i|s|t|o|r|y| +0#0000000&@65
|:|l+0#af5f00255&|i|s|t| +0#0000000&@69
|:|l+0#af5f00255&@1| +0#0000000&@71
@57|2|7|1|,|1| @8|2|1|%|
|:|l+0#af5f00255&@1|a|s|t| +0#0000000&@68
|:|l+0#af5f00255&@1|i|s|t| +0#0000000&@68
@57|2|7|1|,|1| @8|2@1|%|