Skip to content
Discussion options

You must be logged in to vote

I think manually adding important directories to runtimepath is a reasonable solution here. It doesn't look that common nowadays to have Neovim plugins contain important stuff in not standardized directories (i.e. adding plugin's directory to runtimepath is usually enough).

It can be simplified a bit by storing local plugin_opt = path_package .. '/pack/deps/opt' and then using vim.opt.rtp:append(plugin_opt .. '/onehalf/vim').

In theory it can be simplified even further by having MiniDeps.add return a table with information about adding. If it contains path then it would be vim.opt.rtp:append(add_details.path .. '/vim'), but that doesn't look much better (especially considering much more c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.deps
2 participants