expand injection-regex to handle more cases
docs describe this as "a regex pattern that will be tested against a *language name* in order to determine whether this language should be used for a potential *language injection* site."
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"tree-sitter": [
|
"tree-sitter": [
|
||||||
{
|
{
|
||||||
"injection-regex": "^(nix-shell)$",
|
"injection-regex": "^(nix[-_]?shell)$",
|
||||||
"scope": "source.nix_shell"
|
"scope": "source.nix_shell"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user