diff --git a/Cargo.toml b/Cargo.toml index 744b3e1..9cd95f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,9 @@ name = "tree-sitter-dust" description = "Dust grammar for the tree-sitter parsing library" version = "0.0.1" -keywords = ["incremental", "parsing", "Dust"] +keywords = ["incremental", "parsing", "dust"] categories = ["parsing", "text-editors"] -repository = "https://github.com/tree-sitter/tree-sitter-Dust" +repository = "https://github.com/tree-sitter/tree-sitter-dust" edition = "2018" license = "MIT" diff --git a/grammar.js b/grammar.js index fc4277b..7aed883 100644 --- a/grammar.js +++ b/grammar.js @@ -1,5 +1,5 @@ module.exports = grammar({ - name: 'Dust', + name: 'dust', rules: { source_file: $ => repeat(choice($.comment, $.expression)), diff --git a/src/grammar.json b/src/grammar.json index bef786a..1b06899 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1,5 +1,5 @@ { - "name": "Dust", + "name": "dust", "rules": { "source_file": { "type": "REPEAT", diff --git a/src/parser.c b/src/parser.c index b89df98..b2334ce 100644 --- a/src/parser.c +++ b/src/parser.c @@ -828,7 +828,7 @@ extern "C" { #define extern __declspec(dllexport) #endif -extern const TSLanguage *tree_sitter_Dust(void) { +extern const TSLanguage *tree_sitter_dust(void) { static const TSLanguage language = { .version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT,