diff options
| author | taekwombo <88032359+taekwombo@users.noreply.github.com> | 2022-11-24 08:23:09 +0100 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-11-24 09:37:39 +0100 |
| commit | fb4058448a61ee52e18cf2d2a12de3d241b33201 (patch) | |
| tree | 2b867faf59beb400a6f6289bab6875ad9966c912 | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar.gz nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar.bz2 nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar.lz nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar.xz nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.tar.zst nvim-treesitter-fb4058448a61ee52e18cf2d2a12de3d241b33201.zip | |
fix(fish): "test" command capture name
| -rw-r--r-- | queries/fish/highlights.scm | 4 |
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 |
