mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
query: Only highlight predicate name (#1461)
Only highlight the name of the predicate using TSFunction rather than the entire predicate block.
This commit is contained in:
parent
2e073285dc
commit
dbbedfec88
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
(escape_sequence) @string.escape
|
||||
(capture) @type
|
||||
(anonymous_node) @string
|
||||
(predicate) @function
|
||||
(predicate name: (identifier) @function)
|
||||
(named_node
|
||||
name: (identifier) @variable
|
||||
(field_definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue