diff options
| -rw-r--r-- | queries/fish/highlights.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/queries/fish/highlights.scm b/queries/fish/highlights.scm index 4502c2e1..79fbced4 100644 --- a/queries/fish/highlights.scm +++ b/queries/fish/highlights.scm @@ -109,7 +109,7 @@ (command name: [ (word) @function.builtin - (#match? @function.builtin "^(.|:|_|alias|argparse|bg|bind|block|breakpoint|builtin|cd|command|commandline|complete|contains|count|disown|echo|emit|eval|exec|exit|fg|functions|history|isatty|jobs|math|printf|pwd|random|read|realpath|set|set_color|source|status|string|time|type|ulimit|wait)$") + (#any-of? @function.builtin "." ":" "_" "alias" "argparse" "bg" "bind" "block" "breakpoint" "builtin" "cd" "command" "commandline" "complete" "contains" "count" "disown" "echo" "emit" "eval" "exec" "exit" "fg" "functions" "history" "isatty" "jobs" "math" "printf" "pwd" "random" "read" "realpath" "set" "set_color" "source" "status" "string" "test" "time" "type" "ulimit" "wait") ] ) @@ -148,8 +148,7 @@ (comment) @comment (test_option) @string -((word) @boolean -(#match? @boolean "^(true|false)$")) +[(true) (false)] @boolean ;; Error |
