Skip to content

Commit

Permalink
Add missing comment injection for nix (helix-editor#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
farwyler authored Dec 19, 2022
1 parent 03baec8 commit a7146f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/queries/nix/injections.scm
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
((comment) @injection.content
(#set! injection.language "comment"))

; mark arbitary languages with a comment
((((comment) @injection.language) .
(indented_string_expression (string_fragment) @injection.content))
Expand Down

0 comments on commit a7146f5

Please sign in to comment.