29 lines
708 B
JSON
29 lines
708 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": [
|
|
{
|
|
"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)$",
|
|
"scope": "source.nix_shell",
|
|
"highlights": [ "queries/highlights.scm" ]
|
|
}
|
|
]
|
|
}
|