mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
chore(fish): update test command highlight query (#4306)
This commit is contained in:
parent
2c2430d42f
commit
ab5cc6414e
2 changed files with 3 additions and 4 deletions
|
|
@ -19,7 +19,8 @@
|
|||
argument: (word) @operator (#match? @operator "^(!?\\=|-[a-zA-Z]+)$"))
|
||||
|
||||
;; match operators of [ command
|
||||
(test_command
|
||||
(command
|
||||
name: (word) @punctuation.bracket (#match? @punctuation.bracket "^\\[$")
|
||||
argument: (word) @operator (#match? @operator "^(!?\\=|-[a-zA-Z]+)$"))
|
||||
|
||||
[
|
||||
|
|
@ -122,8 +123,6 @@
|
|||
]
|
||||
)
|
||||
|
||||
(test_command (word) @function.builtin)
|
||||
|
||||
;; Functions
|
||||
|
||||
(function_definition ["function" "end"] @keyword.function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue