chore: update bug template
This commit is contained in:
parent
b9c540977d
commit
04821ad076
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue