mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -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
|
||||
".DEFAULT"
|
||||
".SUFFIXES"
|
||||
".DEFAULT"
|
||||
".DELETE_ON_ERROR"
|
||||
".EXPORT_ALL_VARIABLES"
|
||||
".IGNORE"
|
||||
|
|
@ -64,19 +63,16 @@
|
|||
"MAKE_TERMERR"
|
||||
"MAKE_TERMOUT"
|
||||
"SHELL"
|
||||
)
|
||||
)
|
||||
|
||||
))
|
||||
|
||||
|
||||
; Use string to match bash
|
||||
(variable_reference (word) @string ) @operator
|
||||
(variable_reference (word) @string) @operator
|
||||
|
||||
|
||||
(shell_function
|
||||
["$" "(" ")"] @operator
|
||||
"shell" @function.builtin
|
||||
)
|
||||
"shell" @function.builtin)
|
||||
|
||||
(function_call ["$" "(" ")"] @operator)
|
||||
(substitution_reference ["$" "(" ")"] @operator)
|
||||
|
|
@ -117,5 +113,4 @@
|
|||
"eval"
|
||||
"file"
|
||||
"value"
|
||||
] @function.builtin
|
||||
)
|
||||
] @function.builtin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue