diff options
author | dundargoc <gocdundar@gmail.com> | 2023-12-12 17:10:22 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-12 18:32:45 +0100 |
commit | 2c96f1c4f052540ad0ca5cb6f631088aa9114f9c (patch) | |
tree | 5746f889696454b762730fd89a7b95994c5cdcde /contrib/minimal.lua | |
parent | 5ad5f034caec62b795bc48e8e29477c29971042d (diff) | |
download | rneovim-2c96f1c4f052540ad0ca5cb6f631088aa9114f9c.tar.gz rneovim-2c96f1c4f052540ad0ca5cb6f631088aa9114f9c.tar.bz2 rneovim-2c96f1c4f052540ad0ca5cb6f631088aa9114f9c.zip |
docs: move minimum reproduction template from wiki to repo
Instead of a markdown file, just use a lua file instead that users can
use directly.
Diffstat (limited to 'contrib/minimal.lua')
-rw-r--r-- | contrib/minimal.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/minimal.lua b/contrib/minimal.lua new file mode 100644 index 0000000000..a395b9dcaf --- /dev/null +++ b/contrib/minimal.lua @@ -0,0 +1,14 @@ +-- 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 |