From bcd73a8b9a3b81242ce6c5f65e3e245eb18a4572 Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Wed, 11 Sep 2024 00:47:50 -0400 Subject: [PATCH] chore: add minimal reproduction instruction (#564) Thanks from lazy.nvim --- .github/ISSUE_TEMPLATE/bug_report.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5174e47..30d16f5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -49,3 +49,19 @@ body: platform: ... validations: required: true + - type: textarea + attributes: + label: Repro + description: Minimal `init.lua` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua` + value: | + vim.env.LAZY_STDPATH = ".repro" + load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))() + + require("lazy.minit").repro({ + spec = { + -- add any other plugins here + }, + }) + render: lua + validations: + required: false