main: Only highlight characters special to globbing as globbing

This commit is contained in:
Matthew Martin
2018-01-18 20:10:25 -06:00
parent 604075aa90
commit e48af35753
4 changed files with 54 additions and 9 deletions

View File

@@ -31,8 +31,11 @@ BUFFER=': foo* bar? *baz qux\?'
expected_region_highlight=(
"1 1 builtin" # :
"3 6 globbing" # foo*
"8 11 globbing" # bar?
"13 16 globbing" # *baz
"3 5 default" # foo
"6 6 globbing" # *
"8 10 default" # bar
"11 11 globbing" # ?
"13 13 globbing" # *
"14 16 default" # baz
"18 22 default" # qux\?
)