0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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

@@ -383,7 +383,6 @@
:ptprevious
:ptrewind
:ptselect
:public
:put
:pwd
:py3
@@ -478,7 +477,6 @@
:startinsert
:startgreplace
:startreplace
:static
:stopinsert
:stjump
:stselect
@@ -971,7 +969,6 @@ call Foo() | ptnext
call Foo() | ptprevious
call Foo() | ptrewind
call Foo() | ptselect
call Foo() | public
call Foo() | put
call Foo() | pwd
call Foo() | py3
@@ -1066,7 +1063,6 @@ call Foo() | stag
call Foo() | startinsert
call Foo() | startgreplace
call Foo() | startreplace
call Foo() | static
call Foo() | stopinsert
call Foo() | stjump
call Foo() | stselect
@@ -1187,8 +1183,6 @@ call Foo() | z
:abstract
:class
:defcompile
:disassemble
:endclass
:endinterface
:endenum
@@ -1203,8 +1197,6 @@ call Foo() | z
Foo() | abstract
Foo() | class
Foo() | defcompile
Foo() | disassemble
Foo() | endclass
Foo() | endenum
Foo() | endinterface