From 2bb67314f5521d69ebbd7955a1dfbc4e68ef7da5 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 29 Nov 2024 12:48:10 -0300 Subject: [PATCH] Update parser metadata with filed written by tree-sitter v0.24.3. --- .gitignore | 1 + package.json | 9 --------- tree-sitter.json | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 tree-sitter.json diff --git a/.gitignore b/.gitignore index ca9a28f..e4037a2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ build/ node_modules/ package-lock.json +tree-sitter-crystal.wasm diff --git a/package.json b/package.json index 0e0bb76..454e105 100644 --- a/package.json +++ b/package.json @@ -41,15 +41,6 @@ "tree-sitter-cli": "^0.20.0", "prebuildify": "^6.0.0" }, - "tree-sitter": [ - { - "scope": "source.cr", - "file-types": [ - "cr" - ], - "highlights": [] - } - ], "prettier": { "arrowParens": "avoid", "singleQuote": true, diff --git a/tree-sitter.json b/tree-sitter.json new file mode 100644 index 0000000..92ecdc9 --- /dev/null +++ b/tree-sitter.json @@ -0,0 +1,36 @@ +{ + "grammars": [ + { + "name": "crystal", + "camelcase": "Crystal", + "scope": "source.cr", + "path": ".", + "file-types": [ + "cr" + ], + "highlights": [] + } + ], + "metadata": { + "version": "0.1.0", + "license": "MIT", + "description": "", + "authors": [ + { + "name": "Devaune Whittle", + "email": "https://github.com/devnote-dev" + } + ], + "links": { + "repository": "https://github.com/crystal-lang-tools/tree-sitter-crystal" + } + }, + "bindings": { + "c": true, + "go": true, + "node": true, + "python": true, + "rust": true, + "swift": true + } +}