package.json: implement an always-failing content-regex
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
"tree-sitter": [
|
"tree-sitter": [
|
||||||
{
|
{
|
||||||
"first-line-regex": "^#!.*\\bnix-shell\\b.*$",
|
"first-line-regex": "^#!.*\\bnix-shell\\b.*$",
|
||||||
|
"content-regex": "^\b$nix-shell wraps other languages so intentionally fail against (and yield to) those other language matches",
|
||||||
"injection-regex": "^(nix[-_]?shell)$",
|
"injection-regex": "^(nix[-_]?shell)$",
|
||||||
"scope": "source.nix_shell"
|
"scope": "source.nix_shell"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user