minimal.lua (530B)
1 -- Run this file as `nvim --clean -u minimal.lua` 2 3 for name, url in pairs { 4 -- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g: 5 -- 'https://github.com/author1/plugin1', 6 -- 'https://github.com/author2/plugin2', 7 } do 8 local install_path = vim.fn.fnamemodify('nvim_issue/' .. name, ':p') 9 if vim.fn.isdirectory(install_path) == 0 then 10 vim.fn.system { 'git', 'clone', '--depth=1', url, install_path } 11 end 12 vim.opt.runtimepath:append(install_path) 13 end 14 15 -- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE