mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(nix): shorter sub-attribute function highlight query (#7579)
This commit is contained in:
parent
0c94de7e97
commit
4862ab0aca
1 changed files with 3 additions and 11 deletions
|
|
@ -116,17 +116,9 @@
|
|||
(attrpath
|
||||
(identifier) @variable.member))))
|
||||
|
||||
(apply_expression
|
||||
function: [
|
||||
(select_expression
|
||||
attrpath: (attrpath
|
||||
.
|
||||
attr: (identifier) @function.call .))
|
||||
(select_expression
|
||||
attrpath: (attrpath
|
||||
(_)
|
||||
attr: (identifier) @function.call .))
|
||||
])
|
||||
function: (select_expression
|
||||
attrpath: (attrpath
|
||||
attr: (identifier) @function.call .))
|
||||
|
||||
; builtin functions (with builtins prefix)
|
||||
(select_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue