rename nixshell -> nix_shell

tree-sitter doesn't allow hyphens in the grammar name
underscore is the approach used by e.g. tree-sitter-c-sharp
This commit is contained in:
2023-07-04 10:53:52 +00:00
parent 91997e2043
commit ddc7cb75c4

View File

@@ -1,5 +1,5 @@
module.exports = grammar({ module.exports = grammar({
name: 'nixshell', name: 'nix_shell',
rules: { rules: {
// TODO: allow trailing whitespace on any line // TODO: allow trailing whitespace on any line