mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
2c96f1c4f0
Instead of a markdown file, just use a lua file instead that users can use directly.
15 lines
500 B
Lua
15 lines
500 B
Lua
-- Run this file as `nvim --clean -u minimal.lua`
|
|
|
|
for name, url in pairs{
|
|
-- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g:
|
|
-- some_plugin = 'https://github.com/author/plugin.nvim'
|
|
} do
|
|
local install_path = vim.fn.fnamemodify('nvim_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
|
|
|
|
-- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE
|