aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/fish/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/fish/highlights.scm b/queries/fish/highlights.scm
index 838251201..505726819 100644
--- a/queries/fish/highlights.scm
+++ b/queries/fish/highlights.scm
@@ -13,9 +13,9 @@
(stream_redirect)
] @operator
-; match operators of test command
+;; match operators of test command
(command
- name: (word) @function (#match? @function "^test$")
+ name: (word) @function.builtin (#match? @function.builtin "^test$")
argument: (word) @operator (#match? @operator "^(!?\\=|-[a-zA-Z]+)$"))
;; match operators of [ command