queries/nix: align match start for language comments
This rule failed to override other ones because it started its matching later.
This commit is contained in:
parent
b4494e1dc5
commit
37e48f4307
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
((((comment) @injection.language) .
|
||||
(indented_string_expression (string_fragment) @injection.content))
|
||||
(#set! injection.combined))
|
||||
((binding
|
||||
(comment) @injection.language
|
||||
expression: (indented_string_expression (string_fragment) @injection.content))
|
||||
(#set! injection.combined))
|
||||
|
||||
; Common attribute keys corresponding to Python scripts,
|
||||
; such as those for NixOS VM tests in nixpkgs/nixos/tests.
|
||||
|
|
Loading…
Add table
Reference in a new issue