forked from aniani/vim
runtime(vim): Update base-syntax, improve :match command highlighting
Match group and pattern arguments to :match commands. closes: #15096 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
9d779c514f
commit
e85fdc730e
20
runtime/syntax/testdir/dumps/vim_ex_match_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_match_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|m|a|t|c|h|,| |:|2|m|a|t|c|h| |a|n|d| |:|3|m|a|t|c|h| |c|o|m@1|a|n|d|s| +0#0000000&@32
|
||||
@75
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@54
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&@69
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@64
|
||||
@75
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@53
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&@68
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@63
|
||||
@75
|
||||
|3+0#af5f00255&|m|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@53
|
||||
|3+0#af5f00255&|m|a|t|c|h| +0#0000000&@68
|
||||
|3+0#af5f00255&|m|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@63
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|1|,|1| @10|A|l@1|
|
20
runtime/syntax/testdir/dumps/vim_ex_match_99.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_match_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|"+0#0000e05#ffffff0| |V|i|m| |:|m|a|t|c|h|,| |:|2|m|a|t|c|h| |a|n|d| |:|3|m|a|t|c|h| |c|o|m@1|a|n|d|s| +0#0000000&@32
|
||||
@75
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@54
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&@69
|
||||
|m+0#af5f00255&|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@64
|
||||
@75
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@53
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&@68
|
||||
|2+0#af5f00255&|m|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@63
|
||||
@75
|
||||
|3+0#af5f00255&|m|a|t|c|h| +0#0000000&|F+0#00e0003&|o@1|G|r|o|u|p| +0#0000000&|/+0#e000e06&|F+0#0000000&|o@1|/+0#e000e06&| +0#0000000&@53
|
||||
|3+0#af5f00255&|m|a|t|c|h| +0#0000000&@68
|
||||
>3+0#af5f00255&|m|a|t|c|h| +0#0000000&|n+0#00e0003&|o|n|e| +0#0000000&@63
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|1|3|,|1| @9|A|l@1|
|
13
runtime/syntax/testdir/input/vim_ex_match.vim
Normal file
13
runtime/syntax/testdir/input/vim_ex_match.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
" Vim :match, :2match and :3match commands
|
||||
|
||||
match FooGroup /Foo/
|
||||
match
|
||||
match none
|
||||
|
||||
2match FooGroup /Foo/
|
||||
2match
|
||||
2match none
|
||||
|
||||
3match FooGroup /Foo/
|
||||
3match
|
||||
3match none
|
Reference in New Issue
Block a user