diff options
| author | Baraa Homsi <49784526+bodby@users.noreply.github.com> | 2025-01-22 15:58:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-22 07:58:01 -0800 |
| commit | 4862ab0aca21e92771b72e2d7e70424b250f0dd4 (patch) | |
| tree | a7db2d5186847832085b0a5f2e2b80654101ad60 /queries | |
| parent | bot(lockfile): update erlang, groovy, janet_simple, kotlin, rst, slim (diff) | |
| download | nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar.gz nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar.bz2 nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar.lz nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar.xz nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.tar.zst nvim-treesitter-4862ab0aca21e92771b72e2d7e70424b250f0dd4.zip | |
fix(nix): shorter sub-attribute function highlight query (#7579)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/nix/highlights.scm | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/queries/nix/highlights.scm b/queries/nix/highlights.scm index 785d249b9..24e685a32 100644 --- a/queries/nix/highlights.scm +++ b/queries/nix/highlights.scm @@ -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 |
