mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
Improve function definition highlighting. - Match bang and function modifiers - abort etc. - Only match valid scope modifiers. - Match listing commands. - Don't match ex commands in function names. - Split function syntax groups into :func and :def subgroups. - Match Vim9-script parameter and return types. - Limit legacy-script and Vim9-script comments to :func and :def definitions, respectively. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
844 B
Plaintext
21 lines
844 B
Plaintext
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
|
| +0#0000000#ffffff0@74
|
|
@75
|
|
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
|
@75
|
|
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y|,| |z|,| |.@2|)|-@34
|
|
| +0#0000000#ffffff0@74
|
|
|++0#0000e05#a8a8a8255|-@1| @1|7| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
|
| +0#0000000#ffffff0@74
|
|
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y| |=| |4|2|,| |z| |=| |"|z|e|d|"|)|-@26
|
|
| +0#0000000#ffffff0@74
|
|
|++0#0000e05#a8a8a8255|-@1| @1|6| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
|
| +0#0000000#ffffff0@74
|
|
@75
|
|
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
|
@75
|
|
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
|
| +0#0000000#ffffff0@74
|
|
@75
|
|
@57|1|4|5|,|3|-|1| @6|9|5|%|
|