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."
26 lines
469 B
JSON
26 lines
469 B
JSON
{
|
|
"name": "tree-sitter-nix-shell",
|
|
"version": "0.0.1",
|
|
"description": "nix-shell grammar for tree-sitter",
|
|
"main": "bindings/node",
|
|
"keywords": [
|
|
"parsing",
|
|
"incremental"
|
|
],
|
|
"dependencies": {
|
|
"nan": "^2.12.1"
|
|
},
|
|
"devDependencies": {
|
|
"tree-sitter-cli": "^0.20.8"
|
|
},
|
|
"scripts": {
|
|
"test": "tree-sitter test"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"injection-regex": "^(nix[-_]?shell)$",
|
|
"scope": "source.nix_shell"
|
|
}
|
|
]
|
|
}
|