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

@@ -33,7 +33,9 @@ BUFFER='print <-> x<->y <foo2-3>'
expected_region_highlight=(
'1 5 builtin' # print
'7 9 globbing' # <->
'11 15 globbing' # x<->
'11 11 default' # x
'12 14 globbing' # <->
'15 15 default' # y
'17 17 redirection' # <
'18 23 default' # foo2-3 (the filename)
'24 24 redirection' # >