mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +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) .
|
||||
(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…
Reference in New Issue
Block a user