diff options
Diffstat (limited to 'queries/bash')
| -rw-r--r-- | queries/bash/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm index d1cdb659d..6fd1d39d5 100644 --- a/queries/bash/highlights.scm +++ b/queries/bash/highlights.scm @@ -84,7 +84,7 @@ (#match? @constant.builtin "^SIG(HUP|INT|QUIT|ILL|TRAP|ABRT|BUS|FPE|KILL|USR[12]|SEGV|PIPE|ALRM|TERM|STKFLT|CHLD|CONT|STOP|TSTP|TT(IN|OU)|URG|XCPU|XFSZ|VTALRM|PROF|WINCH|IO|PWR|SYS|RTMIN([+]([1-9]|1[0-5]))?|RTMAX(-([1-9]|1[0-4]))?)$")) ((word) @boolean - (#match? @boolean "^(true|false)$")) + (#any-of? @boolean "true" "false")) (comment) @comment @spell (test_operator) @string @@ -133,4 +133,4 @@ (regex) @string.regex ((program . (comment) @preproc) - (#match? @preproc "^#!/")) + (#lua-match? @preproc "^#!/")) |
