diff options
author | farwyler | 2022-12-19 23:40:08 +0000 |
---|---|---|
committer | GitHub | 2022-12-19 23:40:08 +0000 |
commit | a7146f58f00b7d15f584c630ca6e123793a0a051 (patch) | |
tree | 4c1fab1f93b1f52c2380288c03d098675703c47c /runtime | |
parent | 03baec8a2d83de59d7e8ada655022e4f81d1fa68 (diff) |
Add missing comment injection for nix (#5208)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/nix/injections.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/nix/injections.scm b/runtime/queries/nix/injections.scm index 82d79cc7..a1a0ebb8 100644 --- a/runtime/queries/nix/injections.scm +++ b/runtime/queries/nix/injections.scm @@ -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)) |