mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
highlights(make): fix captures
This commit is contained in:
parent
8d598de022
commit
e3f376ed67
1 changed files with 4 additions and 9 deletions
|
|
@ -15,7 +15,6 @@
|
||||||
(#any-of? @function.builtin
|
(#any-of? @function.builtin
|
||||||
".DEFAULT"
|
".DEFAULT"
|
||||||
".SUFFIXES"
|
".SUFFIXES"
|
||||||
".DEFAULT"
|
|
||||||
".DELETE_ON_ERROR"
|
".DELETE_ON_ERROR"
|
||||||
".EXPORT_ALL_VARIABLES"
|
".EXPORT_ALL_VARIABLES"
|
||||||
".IGNORE"
|
".IGNORE"
|
||||||
|
|
@ -64,19 +63,16 @@
|
||||||
"MAKE_TERMERR"
|
"MAKE_TERMERR"
|
||||||
"MAKE_TERMOUT"
|
"MAKE_TERMOUT"
|
||||||
"SHELL"
|
"SHELL"
|
||||||
)
|
))
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Use string to match bash
|
; Use string to match bash
|
||||||
(variable_reference (word) @string ) @operator
|
(variable_reference (word) @string) @operator
|
||||||
|
|
||||||
|
|
||||||
(shell_function
|
(shell_function
|
||||||
["$" "(" ")"] @operator
|
["$" "(" ")"] @operator
|
||||||
"shell" @function.builtin
|
"shell" @function.builtin)
|
||||||
)
|
|
||||||
|
|
||||||
(function_call ["$" "(" ")"] @operator)
|
(function_call ["$" "(" ")"] @operator)
|
||||||
(substitution_reference ["$" "(" ")"] @operator)
|
(substitution_reference ["$" "(" ")"] @operator)
|
||||||
|
|
@ -117,5 +113,4 @@
|
||||||
"eval"
|
"eval"
|
||||||
"file"
|
"file"
|
||||||
"value"
|
"value"
|
||||||
] @function.builtin
|
] @function.builtin)
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue