Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/fish/highlights.scm')
| -rw-r--r-- | runtime/queries/fish/highlights.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/queries/fish/highlights.scm b/runtime/queries/fish/highlights.scm index d9b5b427..b5668e7b 100644 --- a/runtime/queries/fish/highlights.scm +++ b/runtime/queries/fish/highlights.scm @@ -94,6 +94,8 @@ ;; Commands +(command name: (word) @function) + (command name: (word) @function.builtin (#match? @function.builtin "^test$") argument: (word) @operator (#match? @operator "^(!?=|-[a-zA-Z]+)$")) @@ -116,9 +118,6 @@ ] ) -; non-builtin command names -(command name: (word) @function) - ;; Functions (function_definition ["function" "end"] @keyword.function) |