mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30: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
|
(attrpath
|
||||||
(identifier) @variable.member))))
|
(identifier) @variable.member))))
|
||||||
|
|
||||||
(apply_expression
|
function: (select_expression
|
||||||
function: [
|
attrpath: (attrpath
|
||||||
(select_expression
|
attr: (identifier) @function.call .))
|
||||||
attrpath: (attrpath
|
|
||||||
.
|
|
||||||
attr: (identifier) @function.call .))
|
|
||||||
(select_expression
|
|
||||||
attrpath: (attrpath
|
|
||||||
(_)
|
|
||||||
attr: (identifier) @function.call .))
|
|
||||||
])
|
|
||||||
|
|
||||||
; builtin functions (with builtins prefix)
|
; builtin functions (with builtins prefix)
|
||||||
(select_expression
|
(select_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue