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,10 +1,9 @@
|:+0&#ffffff0|s+0#af5f00255&|a|v|e|a|s| +0#0000000&@67
|:|s+0#af5f00255&|b|u|f@1|e|r| +0#0000000&@66
|:+0&#ffffff0|s+0#af5f00255&|b|u|f@1|e|r| +0#0000000&@66
|:|s+0#af5f00255&|b|N|e|x|t| +0#0000000&@67
|:|s+0#af5f00255&|b|a|l@1| +0#0000000&@68
|:|s+0#af5f00255&|b|f|i|r|s|t| +0#0000000&@66
>:|s+0#af5f00255&|b|l|a|s|t| +0#0000000&@67
|:|s+0#af5f00255&|b|m|o|d|i|f|i|e|d| +0#0000000&@63
|:|s+0#af5f00255&|b|l|a|s|t| +0#0000000&@67
>:|s+0#af5f00255&|b|m|o|d|i|f|i|e|d| +0#0000000&@63
|:|s+0#af5f00255&|b|n|e|x|t| +0#0000000&@67
|:|s+0#af5f00255&|b|p|r|e|v|i|o|u|s| +0#0000000&@63
|:|s+0#af5f00255&|b|r|e|w|i|n|d| +0#0000000&@65
@ -17,4 +16,5 @@
|:|s+0#af5f00255&|e|t|g|l|o|b|a|l| +0#0000000&@64
|:|s+0#af5f00255&|e|t|l|o|c|a|l| +0#0000000&@65
|:|s+0#af5f00255&|f|i|n|d| +0#0000000&@68
|:|s+0#af5f00255&|f|i|r|s|t| +0#0000000&@67
@57|4|3@1|,|1| @8|3|5|%|