Skip to content

[General question] What is the intended configuration when using rocks.nvim as a package manager #139

Closed Answered by mrcjkb
NStefan002 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

With rocks.nvim, there is no "intended way" of configuring plugins.
We follow the UNIX philosophy: "Do one thing and do it well".

So as a plugin manager, rocks.nvim leaves configuration up to the user, or an external module like rocks-config.nvim.
If you're using rocks-config.nvim, it woks as you describe, and you don't have to manually source the plugins.
The module will look at your rocks.toml and search for modules in your config.plugins_dir, based on the names of the respective plugins.
If you have a config in your plugins_dir, but the plugin isn't installed, rocks-config.nvim won't try to source it.

The auto_setup option exists as a workaround for the fact that many Lua plugins…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by NStefan002
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #138 on February 10, 2024 21:18.