chore: update bug template

This commit is contained in:
Lewis Russell 2023-06-14 12:05:00 +01:00
parent b9c540977d
commit 04821ad076

View file

@ -44,18 +44,15 @@ body:
`init.lua` at the indicated lines.
render: Lua
value: |
vim.o.packpath = '/tmp/nvim/site'
local plugins = {
for name, url in pairs{
gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
}
for name, url in pairs(plugins) do
local install_path = '/tmp/nvim/site/pack/test/start/'..name
} do
local install_path = vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
end
vim.opt.runtimepath:append(install_path)
end
require('gitsigns').setup{