minimal.lua 503 B

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