string and comment do not require white space before
This commit is contained in:
parent
83592f5285
commit
207bb7e389
|
@ -16,9 +16,9 @@ hook global BufCreate .*[.](fish) %{
|
|||
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||
|
||||
addhl -group / multi_region -default code fish \
|
||||
double_string (^|\h)" (?<!\\)(\\\\)*" '' \
|
||||
single_string (^|\h)' (?<!\\)(\\\\)*' '' \
|
||||
comment (^|\h)# $ ''
|
||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||
comment '#' $ ''
|
||||
|
||||
addhl -group /fish/double_string fill string
|
||||
addhl -group /fish/double_string regex (\$\w+)|(\{\$\w+\}) 0:identifier
|
||||
|
|
Loading…
Reference in New Issue
Block a user