From ddc7cb75c42f0d310dcc62df8fd301f08d81c400 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 4 Jul 2023 10:53:52 +0000 Subject: [PATCH] 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 --- grammar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar.js b/grammar.js index 09d8a72..ead1555 100644 --- a/grammar.js +++ b/grammar.js @@ -1,5 +1,5 @@ module.exports = grammar({ - name: 'nixshell', + name: 'nix_shell', rules: { // TODO: allow trailing whitespace on any line