aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-08-16 13:54:02 +0200
committerStephan Seitz <stephan.seitz@fau.de>2021-09-17 21:06:36 +0200
commit15d4329889f5e1797e35ca3f6aead8646d9e6762 (patch)
tree0771ca657428806932d06cebcaad44e5b117d846
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar.gz
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar.bz2
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar.lz
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar.xz
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.tar.zst
nvim-treesitter-15d4329889f5e1797e35ca3f6aead8646d9e6762.zip
chore(issues): make bug_report an issue form
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md57
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml60
2 files changed, 60 insertions, 57 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index ab71e700b..000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,57 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: bug
-assignees: ''
-
----
-
-<!--
-Before reporting please do :
-
-Update your neovim version to latest _master_.
-Update your plugin to latest version.
-Run `TSUpdate`.
-//-->
-
-**Describe the bug**
-
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-
-Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-
-A clear and concise description of what you expected to happen.
-
-**Output of `:checkhealth nvim_treesitter`**
-
-<details>
-<code>
-
-Paste the output here
-
-</code>
-</details>
-
-**Output of `nvim --version`**
-
-<details>
-<code>
-
-Paste the output here
-
-</code>
-</details>
-
-**Additional context**
-
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 000000000..01e8a3c64
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,60 @@
+name: Bug report
+description: Create a report to help us improve
+labels: [ bug ]
+
+body:
+ - type: checkboxes
+ attributes:
+ label: Before reporting
+ description: Please do the following steps before reporting an issue.
+ options:
+ - label: I have updated my neovim version to latest _master_
+ required: true
+ - label: I have updated my plugin to the latest version
+ required: true
+ - label: I have run `:TSUpdate`
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Describe the bug
+ description: A clear and concise description of what the bug is.
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: To Reproduce
+ description: Steps to reproduce the behavior.
+ placeholder: |
+ 1. Go to '...'
+ 2. Click on '....'
+ 3. Scroll down to '....'
+ 4. See error
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Expected behavior
+ description: A clear and concise description of what you expected to happen.
+
+ - type: textarea
+ attributes:
+ label: Output of `:checkhealth nvim_treesitter`
+ render: markdown
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Output of `nvim --version`
+ render: text
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Additional context
+ description: Add any context about the problem here.
+