From fb4058448a61ee52e18cf2d2a12de3d241b33201 Mon Sep 17 00:00:00 2001 From: taekwombo <88032359+taekwombo@users.noreply.github.com> Date: Thu, 24 Nov 2022 08:23:09 +0100 Subject: fix(fish): "test" command capture name --- queries/fish/highlights.scm | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2