docs(issue-template): make the repro self-contained #222

Merged
barrettruth merged 1 commit from fix/issue-221-repro into main 2026-04-28 20:27:10 +00:00
barrettruth commented 2026-04-28 20:24:08 +00:00

Problem

The bug report template's minimal reproduction fails before diffs.nvim loads because it bootstraps lazy.nvim and then requires lazy.nvim instead of lazy. It also ties the repro to lazy.nvim even on Neovim versions that already have vim.pack.

Solution

Replace the template with a self-contained repro that runs under nvim --clean -u repro.lua, isolates its state under .repro, uses vim.pack when it is available, and falls back to cloning plugins into the repro pack directory and runtimepath on older Neovim versions. The existing integration set stays enabled, but the repro no longer depends on lazy.nvim.

## Problem The bug report template's minimal reproduction fails before `diffs.nvim` loads because it bootstraps `lazy.nvim` and then requires `lazy.nvim` instead of `lazy`. It also ties the repro to lazy.nvim even on Neovim versions that already have `vim.pack`. ## Solution Replace the template with a self-contained repro that runs under `nvim --clean -u repro.lua`, isolates its state under `.repro`, uses `vim.pack` when it is available, and falls back to cloning plugins into the repro pack directory and runtimepath on older Neovim versions. The existing integration set stays enabled, but the repro no longer depends on lazy.nvim.
Sign in to join this conversation.
No description provided.