mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
fix(fish): "test" command capture name
This commit is contained in:
parent
e2021ba943
commit
fb4058448a
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@
|
||||||
(stream_redirect)
|
(stream_redirect)
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
; match operators of test command
|
;; match operators of test command
|
||||||
(command
|
(command
|
||||||
name: (word) @function (#match? @function "^test$")
|
name: (word) @function.builtin (#match? @function.builtin "^test$")
|
||||||
argument: (word) @operator (#match? @operator "^(!?\\=|-[a-zA-Z]+)$"))
|
argument: (word) @operator (#match? @operator "^(!?\\=|-[a-zA-Z]+)$"))
|
||||||
|
|
||||||
;; match operators of [ command
|
;; match operators of [ command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue