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:
pacien 2023-09-15 17:12:47 +02:00 committed by Michael Davis
parent b4494e1dc5
commit 37e48f4307

View File

@ -5,6 +5,10 @@
((((comment) @injection.language) . ((((comment) @injection.language) .
(indented_string_expression (string_fragment) @injection.content)) (indented_string_expression (string_fragment) @injection.content))
(#set! injection.combined)) (#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, ; Common attribute keys corresponding to Python scripts,
; such as those for NixOS VM tests in nixpkgs/nixos/tests. ; such as those for NixOS VM tests in nixpkgs/nixos/tests.