From e8bfe271b0da136048cdf20128b758ec87318479 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 5 May 2025 11:00:16 +0200 Subject: docs: update to rewrite This updates * README * CONTRIBUTING * the `:h nvim-treesitter` documentation to the current state of `main`. It also adds a pull request template for adding a new language. --- .github/PULL_REQUEST_TEMPLATE/new_language.md | 45 +++++++++++++++++++++++++++ .github/pull_request_template.md | 5 +++ 2 files changed, 50 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/new_language.md create mode 100644 .github/pull_request_template.md (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE/new_language.md b/.github/PULL_REQUEST_TEMPLATE/new_language.md new file mode 100644 index 000000000..0f814f0f0 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/new_language.md @@ -0,0 +1,45 @@ + + +# Name of language + + +https://... + +
+Representative code sample +``` +max. 50 lines +``` +
+ +## Parser repo + +https://github.com/... + +
+Parsed tree for code sample +``` +paste output of tree-sitter parse or :InspectTree here +``` +
+ +## Queries + +Source of queries: https://github.com/... (or "written from scratch") + +
+Screenshots of code sample + +
+ + diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..1f5207d98 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,5 @@ + -- cgit v1.2.3-70-g09d2