We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d40963 + f16011d commit c1a9472Copy full SHA for c1a9472
README.md
@@ -38,7 +38,6 @@ Install `calops/hmts.nvim` with your favorite package manager.
38
{
39
"calops/hmts.nvim",
40
version = "*",
41
- ft = "nix",
42
}
43
```
44
queries/nix/injections.scm
@@ -24,9 +24,10 @@
24
; ''
25
(
26
(indented_string_expression
27
- (string_fragment) @injection.language (#lua-match? @injection.language "^%s*#!.*/.")
+ (string_fragment) @injection.language (#lua-match? @injection.language "^%s*#!")
28
(_)*
29
) @injection.content
30
+ (#gsub! @injection.language ".*#!.*env (%S+).*" "%1")
31
(#gsub! @injection.language ".*#!%s*%S*/(%S+).*" "%1")
32
(#set! injection.include-children)
33
) @combined
0 commit comments