From 53e8535debdc8ac7a841d7f35bffbb99b3aa7550 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:19:12 +1000 Subject: [PATCH 01/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 40 ++------------------------- .github/ISSUE_TEMPLATE/nvt-min.lua | 34 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/nvt-min.lua diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 324af2419f3..97e6cb12aff 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -42,8 +42,8 @@ body: label: "Steps to reproduce" description: "Steps to reproduce using the minimal config provided below." placeholder: | - 1. `nvim -nu /tmp/nvt-min.lua` - 2. `:NvimTreeOpen` + 1. nvim -nu /tmp/nvt-min.lua + 2. :NvimTreeOpen 3. ... validations: required: true @@ -58,42 +58,8 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save this as `/tmp/nvt-min.lua` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua]() to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua - value: | - vim.cmd [[set runtimepath=$VIMRUNTIME]] - vim.cmd [[set packpath=/tmp/nvt-min/site]] - local package_root = "/tmp/nvt-min/site/pack" - local install_path = package_root .. "/packer/start/packer.nvim" - local function load_plugins() - require("packer").startup { - { - "wbthomason/packer.nvim", - "kyazdani42/nvim-tree.lua", - "kyazdani42/nvim-web-devicons", - -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE - }, - config = { - package_root = package_root, - compile_path = install_path .. "/plugin/packer_compiled.lua", - display = { non_interactive = true }, - }, - } - end - if vim.fn.isdirectory(install_path) == 0 then - print "Installing nvim-tree and dependencies." - vim.fn.system { "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path } - end - load_plugins() - require("packer").sync() - vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]] - vim.opt.termguicolors = true - vim.opt.cursorline = true - - -- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE - _G.setup = function() - require("nvim-tree").setup {} - end validations: required: true diff --git a/.github/ISSUE_TEMPLATE/nvt-min.lua b/.github/ISSUE_TEMPLATE/nvt-min.lua new file mode 100644 index 00000000000..36cbcf6b251 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/nvt-min.lua @@ -0,0 +1,34 @@ +vim.cmd [[set runtimepath=$VIMRUNTIME]] +vim.cmd [[set packpath=/tmp/nvt-min/site]] +local package_root = "/tmp/nvt-min/site/pack" +local install_path = package_root .. "/packer/start/packer.nvim" +local function load_plugins() + require("packer").startup { + { + "wbthomason/packer.nvim", + "kyazdani42/nvim-tree.lua", + "kyazdani42/nvim-web-devicons", + -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE + }, + config = { + package_root = package_root, + compile_path = install_path .. "/plugin/packer_compiled.lua", + display = { non_interactive = true }, + }, + } +end +if vim.fn.isdirectory(install_path) == 0 then + print "Installing nvim-tree and dependencies." + vim.fn.system { "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path } +end +load_plugins() +require("packer").sync() +vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]] +vim.opt.termguicolors = true +vim.opt.cursorline = true + +-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE +_G.setup = function() + require("nvim-tree").setup {} +end + From 7d239a1ebc1091dac75e271742410cc4ffbf0bee Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:28:39 +1000 Subject: [PATCH 02/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 97e6cb12aff..62538b7107b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua]() to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From ed7059842bd66556b71a0b146205099b3b10bc43 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:29:09 +1000 Subject: [PATCH 03/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 62538b7107b..332387bc3f8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From f09623dbe54e18ce1ef2bdefe4a96fd707694957 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:33:31 +1000 Subject: [PATCH 04/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 332387bc3f8..62538b7107b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From a2bf6ad4c0138919209d787fa3595da5dd132cd4 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:36:59 +1000 Subject: [PATCH 05/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 62538b7107b..768da884175 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From e76d819d61bd83b1bfc8bd6c6b962605ddbb5b79 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:38:30 +1000 Subject: [PATCH 06/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 768da884175..5fce63dbf34 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](blob/master/lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From e0095b12cf4c1ef71bb83c29de7c7fe2d121833b Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:39:03 +1000 Subject: [PATCH 07/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5fce63dbf34..d8f1213931a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](blob/master/lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](/blob/master/lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From bb4d39f11307f3487c79527760ec8e5ab9f0536d Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:43:58 +1000 Subject: [PATCH 08/16] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d8f1213931a..c7580e150cf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](/blob/master/lua/nvim-tree.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: Lua validations: required: true From 50407d901f0e72eab37413891588145d25f58557 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:45:28 +1000 Subject: [PATCH 09/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c7580e150cf..19c1ac9b6bf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -16,7 +16,6 @@ body: attributes: label: "Neovim version" description: "Output of `nvim --version`. Please see nvim-tree.lua [minimum required version](https://github.com/kyazdani42/nvim-tree.lua#notice)." - render: markdown placeholder: | NVIM v0.6.1 Build type: Release @@ -59,7 +58,7 @@ body: attributes: label: "Minimal config" description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." - render: Lua + render: lua validations: required: true From 84dbdb2e8510d0c0e9adfac22057dd3fe8db4ed6 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:47:28 +1000 Subject: [PATCH 10/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 19c1ac9b6bf..96dc53a93ba 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -20,6 +20,7 @@ body: NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3 + render: text validations: required: true - type: input From 970be9de17f539bb4b2725bdc4612766e30983ea Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:53:43 +1000 Subject: [PATCH 11/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 96dc53a93ba..d5a63a64d2f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,9 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. Save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. + If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: lua validations: required: true From 2a913e8b3c7cc2b4fef4e0f5ac30cda11526e14b Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:55:27 +1000 Subject: [PATCH 12/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d5a63a64d2f..eca733c3a22 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,7 +58,7 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: lua From 44f32694245cde2a20dc847a6f6f967dcd6cfb8a Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 10:56:14 +1000 Subject: [PATCH 13/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index eca733c3a22..6969d07dbf7 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -58,8 +58,10 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. + If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." render: lua validations: From bfd2ddd41fbcdc2fd3399ff0b9ac985a0303498c Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 11:10:27 +1000 Subject: [PATCH 14/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6969d07dbf7..96841a16519 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -37,6 +37,19 @@ body: nvim-tree branch, commit or tag number validations: required: true + - type: textarea + attributes: + label: "Minimal config" + description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + + (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua` + + If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines. + + Paste the contents of `/tmp/nvt-min.lua` here." + render: lua + validations: + required: true - type: textarea attributes: label: "Steps to reproduce" @@ -55,15 +68,4 @@ body: attributes: label: "Actual behavior" description: "Observed behavior (may optionally include images, videos or a screencast)." - - type: textarea - attributes: - label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. - - (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua`. - - If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines." - render: lua - validations: - required: true From 0e4df825775525a4f4e881a325956a034eaf52f3 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 11:11:58 +1000 Subject: [PATCH 15/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 96841a16519..b7a64a5d8dc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -40,13 +40,13 @@ body: - type: textarea attributes: label: "Minimal config" - description: "Minimal(!) configuration necessary to reproduce the issue, using the latest version. + description: "Minimal(!) configuration necessary to reproduce the issue. (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua` If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines. - Paste the contents of `/tmp/nvt-min.lua` here." + Paste the contents of your `/tmp/nvt-min.lua` here." render: lua validations: required: true From 51972993eaaf609a0e8b5d625d2067d92bec14f7 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 3 May 2022 11:14:07 +1000 Subject: [PATCH 16/16] split nvt-min.lua out of bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b7a64a5d8dc..aac37768a4b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -42,7 +42,7 @@ body: label: "Minimal config" description: "Minimal(!) configuration necessary to reproduce the issue. - (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/alex-courtis/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua` + (Right click) save [nvt-min.lua](https://raw.githubusercontent.com/kyazdani42/nvim-tree.lua/master/.github/ISSUE_TEMPLATE/nvt-min.lua) to `/tmp` and run using `nvim -nu /tmp/nvt-min.lua` If _absolutely_ necessary, add plugins and modify the nvim-tree setup at the indicated lines.