Changes
4 changed files (+41/-38)
-
-
@@ -20,6 +20,7 @@ {"includes": [ "dprint.jsonc", "flake.nix", "tree-sitter.json", ], "lineWidth": 80, "indentWidth": 2,
-
-
package.json (deleted)
-
@@ -1,36 +0,0 @@{ "name": "tree-sitter-vala", "version": "0.53.1", "description": "Vala grammar for tree-sitter", "main": "bindings/node", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/vala-lang/tree-sitter-vala.git" }, "keywords": [ "tree-sitter", "vala" ], "author": "Princeton Ferro", "license": "LGPL-2.1-only", "bugs": { "url": "https://github.com/vala-lang/tree-sitter-vala/issues" }, "homepage": "https://github.com/vala-lang/tree-sitter-vala#readme", "tree-sitter": [ { "scope": "source.vala", "file-types": [ "vala", "vapi" ], "highlights": ["queries/highlights.scm"], "locals": ["queries/locals.scm"], "first-line-regex": "#!.*\\bvala$", "injection-regex": "^vala$" } ] }
-
-
-
@@ -6,7 +6,7 @@ #if defined(__GNUC__) || defined(__clang__)#pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #define LANGUAGE_VERSION 14 #define LANGUAGE_VERSION 15 #define STATE_COUNT 2562 #define LARGE_STATE_COUNT 499 #define SYMBOL_COUNT 312
-
@@ -7237,7 +7237,7 @@ return false;} } static const TSLexMode ts_lex_modes[STATE_COUNT] = { static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 68}, [2] = {.lex_state = 68},
-
@@ -123868,6 +123868,7 @@ .external_token_count = EXTERNAL_TOKEN_COUNT,.state_count = STATE_COUNT, .large_state_count = LARGE_STATE_COUNT, .production_id_count = PRODUCTION_ID_COUNT, .supertype_count = SUPERTYPE_COUNT, .field_count = FIELD_COUNT, .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, .parse_table = &ts_parse_table[0][0],
-
@@ -123887,6 +123888,13 @@ .lex_fn = ts_lex,.keyword_lex_fn = ts_lex_keywords, .keyword_capture_token = sym_identifier, .primary_state_ids = ts_primary_state_ids, .name = "vala", .max_reserved_word_set_size = 0, .metadata = { .major_version = 0, .minor_version = 1, .patch_version = 0, }, }; return &language; }
-
-
tree-sitter.json (new)
-
@@ -0,0 +1,30 @@{ "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json", "grammars": [ { "name": "vala", "scope": "source.vala", "file-types": [ "vala", "vapi" ], "highlights": ["queries/highlights.scm"], "locals": ["queries/locals.scm"], "first-line-regex": "#!.*\\bvala$", "injection-regex": "^vala$" } ], "metadata": { "version": "0.1.0", "license": "LGPL-2.1-or-later", "description": "Vala grammar for tree-sitter", "authors": [ { "name": "Princeton Ferro" } ], "links": { "repository": "https://codeberg.org/pocka/tree-sitter-vala" } } }
-