diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/PULL_REQUEST_TEMPLATE/new_language.md | 45 | ||||
| -rw-r--r-- | .github/pull_request_template.md | 5 |
2 files changed, 50 insertions, 0 deletions
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 @@ +<!-- + Before proceeding, make sure you have read https://github.com/nvim-treesitter/nvim-treesitter/blob/main/CONTRIBUTING.md! + Make sure to fill out all fields and read the checklist at the end. +--> + +# Name of language + +<!-- Link to an official description of the language --> +https://... + +<details> +<summary>Representative code sample</summary> +``` +max. 50 lines +``` +</details> + +## Parser repo + +https://github.com/... + +<details> +<summary>Parsed tree for code sample</summary> +``` +paste output of tree-sitter parse or :InspectTree here +``` +</details> + +## Queries + +Source of queries: https://github.com/... (or "written from scratch") + +<details> +<summary>Screenshots of code sample</summary> +<!-- paste screenshot of code sample using provided queries here --> +</details> + +<!-- +CHECKLIST: _Before_ submitting, make sure + +* `./scripts/install-parsers.lua <language>` works without warnings +* `./scripts/install-parsers.lua --generate <language>` works without warnings +* `make query` works without warning +* `make docs` is run +--> 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 @@ +<!-- + Before proceeding, make sure you have read https://github.com/nvim-treesitter/nvim-treesitter/blob/main/CONTRIBUTING.md! + If you are adding a new parser, use this link instead: + <https://github.com/nvim-treesitter/nvim-treesitter/compare/main...my-branch?quick_pull=1&template=new_language.md> +--> |
