package.json: specify scope
and injection-regex
This commit is contained in:
@@ -15,5 +15,11 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tree-sitter test"
|
"test": "tree-sitter test"
|
||||||
|
},
|
||||||
|
"tree-sitter": [
|
||||||
|
{
|
||||||
|
"injection-regex": "^(nix-shell)$",
|
||||||
|
"scope": "source.nix_shell"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user