Skip to content

Commit

Permalink
chore: update bug template
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jun 14, 2023
1 parent b9c5409 commit 04821ad
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 04821ad

Please sign in to comment.