on master help sign in
queries/nix: align match start for language comments

This rule failed to override other ones because it started its matching later.

commit37e48f4307a79cbc4e54e045584ec816bcc245a5 authorpacien <pacien.trangirard@pacien.net> dateFri 15 Sep 2023, 17:12 (3 years ago) parentb4494e1
1 file changed+4
runtime/queries/nix/injections.scm+4
runtime/queries/nix/injections.scm+4
@@ -5,6 +5,10 @@
55((((comment) @injection.language) .
66 (indented_string_expression (string_fragment) @injection.content))
77 (#set! injection.combined))
8+((binding
9+ (comment) @injection.language
10+ expression: (indented_string_expression (string_fragment) @injection.content))
11+ (#set! injection.combined))
812
913; Common attribute keys corresponding to Python scripts,
1014; such as those for NixOS VM tests in nixpkgs/nixos/tests.