Skip to content

A swiss-army knife for testing and developing rocks.nvim modules.

License

Notifications You must be signed in to change notification settings

nvim-neorocks/rocks-dev.nvim

Repository files navigation


rocks-dev.nvim


Report Bug · Request Feature · Ask Question

A Swiss army knife for building and testing rocks.nvim modules.

LuaRocks

🌟 Summary

rocks-dev.nvim extends rocks.nvim with the ability to install dev plugins locally.

🔨 Installation

Simply run :Rocks install rocks-dev.nvim, and you are good to go!

📚 Usage

With this extension, you can add a dir field table to plugins in your rocks.toml, for example:

[plugins."sweetie.nvim"]
dir = "~/git/nvim/sweetie.nvim"

This extension also supports dev.path, which allows you to provide the path to where local plugins are stored. You can tell rocks-dev to load a plugin from that path with dev = true, for example:

[dev]
path = "~/Projects"

[plugins]
"sweetie.nvim" = { dev = true }

When both dir and dev = true are present, dir gets priority.

🔌 rocks-config interoperability

You can use rocks-config.nvim >= 2.0.0 to configure dev plugins, however, it does not currently work with bundles.

📖 License

rocks-dev.nvim is licensed under GPLv3.