From 8e12ec8a1e1b9d46a71e8b7ed8cf2b4ce532ae22 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Thu, 12 Dec 2024 16:13:41 +0000 Subject: [PATCH] chore: update bug report issue template --- .github/ISSUE_TEMPLATE/bug_report.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 61dc4f1..2901d51 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -40,8 +40,16 @@ body: git clone https://github.com/nvimdev/guard-collection /tmp echo "vim.opt.rtp:append('/tmp/guard.nvim')" >> /tmp/repro.lua echo "vim.opt.rtp:append('/tmp/guard-collection')" >> /tmp/repro.lua + nvim --clean -u /tmp/repro.lua validations: required: true + - type: checkboxes + attributes: + - options: + - label: I understand that if my repro step is too complicated (e.g. here is my 1k+ line config and please help me), developers might not be able to help. + required: true + - label: I can confirm that my reproduction step only involves `vim.opt.rtp` and configuration themselves + required: true - type: textarea attributes: label: "Expected behaviour" @@ -53,16 +61,3 @@ body: label: "Actual behaviour" validations: required: true - - type: textarea - attributes: - label: "The minimal config used to reproduce this issue." - description: | - Run with `nvim -u /tmp/repro.lua` - placeholder: | - vim.opt.rtp:append('/tmp/guard.nvim') - vim.opt.rtp:append('/tmp/guard-collection') - -- do anything else you need to do to reproduce the issue - - render: "Lua" - validations: - required: true