From d12ba90da372bfe5d9a103546ce1553341a2daff Mon Sep 17 00:00:00 2001 From: Domagoj Date: Sat, 4 Dec 2021 05:37:19 +0100 Subject: [PATCH] feat: add issue template (#604) --- .github/ISSUE_TEMPLATE/bug_report.md | 31 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 66 +++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 31 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index aa60d97..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - - -**Describe the bug** - - - -**Minimal config based on [this](https://github.com/hrsh7th/nvim-cmp/blob/main/utils/vimrc.vim)** - -```vim -``` - -**To Reproduce** - -1. ... -2. ... -3. ... - -**Expected behavior** - - - -**Additional context** diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..e172106 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,66 @@ +name: Bug Report +description: Report a problem in nvim-cmp +labels: [bug] +body: + - type: checkboxes + id: faq-prerequisite + attributes: + label: FAQ + options: + - label: I have checked the [FAQ](https://github.com/hrsh7th/nvim-cmp#faq) and it didn't resolve my problem. + required: true + + - type: checkboxes + id: issue-prerequisite + attributes: + label: Issues + options: + - label: I have checked [existing issues](https://github.com/hrsh7th/nvim-cmp/issues) and there are no open or closed issues with the same problem. + required: true + + - type: input + attributes: + label: "Neovim Version" + description: "`nvim --version`:" + validations: + required: true + + - type: textarea + attributes: + label: "nvim-cmp config" + description: "Minimal config based on [this](https://github.com/hrsh7th/nvim-cmp/blob/main/utils/vimrc.vim)" + validations: + required: true + + - type: textarea + attributes: + label: "Description" + description: "Describe in detail what happens" + validations: + required: true + + - type: textarea + attributes: + label: "Steps to reproduce" + description: "Full reproduction steps. Include a sample file if your issue relates to a specific filetype." + validations: + required: true + + - type: textarea + attributes: + label: "Expected behavior" + description: "A description of the behavior you expected." + validations: + required: true + + - type: textarea + attributes: + label: "Actual behavior" + description: "A description of the actual behavior." + validations: + required: true + + - type: textarea + attributes: + label: "Additional context" + description: "Any other relevant information"