runtime(vim): Update base-syntax, improve function definition matching
- Fix highlighting of function names including /fu\%[nction]/ (E.g., s:func(), foo.fu(), fu.func()) - Match :delfunction argument. Reported by Aliaksei Budavei. closes: #17428 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6cc9bd4001
commit
51289207f8
20
runtime/syntax/testdir/dumps/vim_ex_delfunction_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_delfunction_00.dump
Normal file
@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|d|e|l|f|u|n|c|t|i|o|n| |c|o|m@1|a|n|d| +0#0000000&@48
|
||||
@75
|
||||
@75
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @59
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|<+0#e000e06&|S|I|D|>|F+0#0000000&|o@1| @54
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.|b|a|r| @55
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|g+0#00e0e07&|:|f+0#0000000&|o@1|.|b|a|r| @53
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|s+0#00e0e07&|:|f+0#0000000&|o@1|.|b|a|r| @53
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|#|b|a|r| @55
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|g+0#00e0e07&|:|f+0#0000000&|o@1|#|b|a|r| @53
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|#|b|a|r|.|b|a|z| @51
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|g+0#00e0e07&|:|f+0#0000000&|o@1|#|b|a|r|.|b|a|z| @49
|
||||
@75
|
||||
@75
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1| @58
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|<+0#e000e06&|S|I|D|>|F+0#0000000&|o@1| @53
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|f|o@1|.|b|a|r| @54
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|g+0#00e0e07&|:|f+0#0000000&|o@1|.|b|a|r| @52
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|s+0#00e0e07&|:|f+0#0000000&|o@1|.|b|a|r| @52
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
Reference in New Issue
Block a user