2023-12-12 09:10:22 -07:00
|
|
|
-- Run this file as `nvim --clean -u minimal.lua`
|
|
|
|
|
2024-01-01 05:08:56 -07:00
|
|
|
for name, url in pairs {
|
2023-12-12 09:10:22 -07:00
|
|
|
-- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g:
|
2024-10-07 08:27:38 -07:00
|
|
|
-- 'https://github.com/author1/plugin1',
|
|
|
|
-- 'https://github.com/author2/plugin2',
|
2023-12-12 09:10:22 -07:00
|
|
|
} do
|
2024-01-01 05:08:56 -07:00
|
|
|
local install_path = vim.fn.fnamemodify('nvim_issue/' .. name, ':p')
|
2023-12-12 09:10:22 -07:00
|
|
|
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
|
|
|
|
|
|
|
|
-- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE
|