package.json: add first-line-regex

i made this more general than the embedded shebang detection

probably want to revisit the embedded shebangs to figure out if we even *want* that
This commit is contained in:
2023-07-04 22:24:48 +00:00
parent 6e771f63b0
commit ae324c9905

View File

@@ -18,6 +18,7 @@
},
"tree-sitter": [
{
"first-line-regex": "^#!.*\\bnix-shell\\b.*$",
"injection-regex": "^(nix[-_]?shell)$",
"scope": "source.nix_shell"
}