chore: update bug template

This commit is contained in:
Lewis Russell 2023-06-14 12:05:00 +01:00
parent b9c540977d
commit 04821ad076
1 changed files with 4 additions and 7 deletions

View File

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