highlight multi-line comments
This commit is contained in:
parent
2aab87f28c
commit
84c960ea7c
|
@ -16,6 +16,7 @@ addhl -group / multi_region -default code javascript \
|
||||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||||
single_string "'" "'" '' \
|
single_string "'" "'" '' \
|
||||||
comment // '$' '' \
|
comment // '$' '' \
|
||||||
|
comment /[*] [*]/ '' \
|
||||||
regex / (?<!\\)(\\\\)*/[gimy]* ''
|
regex / (?<!\\)(\\\\)*/[gimy]* ''
|
||||||
|
|
||||||
# Regular expression flags are: g → global match, i → ignore case, m → multi-lines, y → sticky
|
# Regular expression flags are: g → global match, i → ignore case, m → multi-lines, y → sticky
|
||||||
|
|
Loading…
Reference in New Issue
Block a user