mirror of https://github.com/helix-editor/helix
queries/nix: align match start for language comments
This rule failed to override other ones because it started its matching later.pull/8315/head
parent
b4494e1dc5
commit
37e48f4307
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue