mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 03:13:29 +04:00
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
@ -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
Block a user