nvim-neorocks / rocks.nvim

Neovim plugin management inspired by Cargo, powered by luarocks
GNU General Public License v3.0
378 stars 6 forks source link

[Feature] Prompt to sync rocks if plugins cannot be loaded at startup #293

Open mrcjkb opened 2 weeks ago

mrcjkb commented 2 weeks ago

With https://github.com/nvim-neorocks/rocks.nvim/pull/292, rocks.nvim shows a warning if plugins could not be loaded at startup.

We could also prompt to run :Rocks sync.

NTBBloodbath commented 2 weeks ago

question: could we also add an entry to the vim.g.rocks_config to also automate this process if wanted instead of prompting for confirmation?

mrcjkb commented 2 weeks ago

question: could we also add an entry to the vim.g.rocks_config to also automate this process if wanted instead of prompting for confirmation?

Sounds like a good idea. It might also be useful to invoke the hook once plugins have been installed (for rocks-config).