aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-10-29 18:36:39 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-10-30 08:36:00 +0100
commitfd2880e8bc2c39eade94a4d329df3a14e603136d (patch)
tree83e35388dbea6dd12d3294fc9e7d883f76a3a30d /CONTRIBUTING.md
parentfeat(scfg): update parser (diff)
downloadnvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar.gz
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar.bz2
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar.lz
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar.xz
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.tar.zst
nvim-treesitter-fd2880e8bc2c39eade94a4d329df3a14e603136d.zip
feat(install): remove node requirement
* supported parsers _must_ commit at least `grammar.json` * set `TREE_SITTER_JS_RUNTIME=native` when generating parser to use built-in quickjs instead of node (requires tree-sitter 0.26)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f376ed802..1d05a42cd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -27,7 +27,6 @@ zimbu = {
branch = 'develop', -- only needed if different from default branch
location = 'parser', -- only needed if the parser is in subdirectory of a "monorepo"
generate = true, -- only needed if repo does not contain pre-generated src/parser.c
- generate_from_json = false, -- only needed if repo does not contain `src/grammar.json` either
},
maintainers = { '@me' }, -- the _query_ maintainers
tier = 1, -- stable: track versioned releases instead of latest commit
@@ -38,6 +37,9 @@ zimbu = {
```
>[!IMPORTANT]
+> If the repo does not contain a pre-generated `src/parser.c`, it **must** at least contain `src/grammar.json` so that the parser can be generated without having `node` installed.
+
+>[!IMPORTANT]
> The "maintainers" here refers to the person maintaining the **queries** in `nvim-treesitter`, not the parser maintainers (who likely don't use Neovim). The maintainers' duty is to review issues and PRs related to the query and to keep them updated with respect to parser changes.
>[!NOTE]