From 0337b09394a6b473410c29a924d6c75df705980d Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 19 Jul 2024 21:49:07 +0900 Subject: [PATCH] Update issue template --- .github/ISSUE_TEMPLATE.md | 27 ----------------- .github/ISSUE_TEMPLATE/config.yml | 49 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 27 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index f2bac4a..0000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,27 +0,0 @@ - - - - -- [ ] I have fzf 0.54.0 or above - - Check `:echo system(fzf#exec() .. ' --version')` - - If you don't have the latest version, `:call fzf#install()` to download it -- [ ] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md -- [ ] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md -- [ ] I have read through the manual page of fzf (`man fzf`) -- [ ] I have searched through the existing issues - - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..d163ccb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,49 @@ +--- +name: Issue Template +description: Report a problem or bug related to fzf.vim to help us improve + +body: + - type: markdown + attributes: + value: | + Check the version of fzf used by running + + ```vim + :echo system(fzf#exec() .. ' --version') + ``` + + If you don't have the latest version, run the following code to download it + + ```vim + :call fzf#install() + ``` + + - type: checkboxes + attributes: + label: Checklist + options: + - label: I have fzf 0.54.0 or later + required: true + - label: I have searched through the existing issues + required: true + + - type: input + attributes: + label: Output of `:echo system(fzf#exec() .. ' --version')` + validations: + required: true + + - type: checkboxes + attributes: + label: OS + options: + - label: Linux + - label: macOS + - label: Windows + - label: Etc. + + - type: textarea + attributes: + label: Problem / Steps to reproduce + validations: + required: true