mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
runtime(vim): Update base-syntax, match bracket mark ranges
Match '(,'),'[,'],'{, and '} marks in Ex command ranges. Thanks to Maxim Kim. Fixes #15332. Closes #15337. Signed-off-by: Maxim Kim <habamax@gmail.com> 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
e2c4e07795
commit
d817609b87
20
runtime/syntax/testdir/dumps/vim_ex_range_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_range_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |E|x| |c|o|m@1|a|n|d| |r|a|n|g|e|s| +0#0000000&@55
|
||||
@75
|
||||
|'+0#e000002&|<|,+0#0000000&|'+0#e000002&|>|p+0#af5f00255&|r|i|n|t| +0#0000000&@64
|
||||
|'+0#e000002&|(|,+0#0000000&|'+0#e000002&|)|p+0#af5f00255&|r|i|n|t| +0#0000000&@64
|
||||
|'+0#e000002&|{|,+0#0000000&|'+0#e000002&|}|p+0#af5f00255&|r|i|n|t| +0#0000000&@64
|
||||
|'+0#e000002&|[|,+0#0000000&|'+0#e000002&|]|p+0#af5f00255&|r|i|n|t| +0#0000000&@64
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|1|,|1| @10|A|l@1|
|
6
runtime/syntax/testdir/input/vim_ex_range.vim
Normal file
6
runtime/syntax/testdir/input/vim_ex_range.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" Ex command ranges
|
||||
|
||||
'<,'>print
|
||||
'(,')print
|
||||
'{,'}print
|
||||
'[,']print
|
Reference in New Issue
Block a user