Open vhyrro opened 2 weeks ago
therefore pruning it on the next sync
question: what if we save them in a temporary global variable (vim.g._rocks_tmp
or something like that) and run an autocmd in VimLeave
to automatically remove them instead? 👀
therefore pruning it on the next sync
question: what if we save them in a temporary global variable (
vim.g._rocks_tmp
or something like that) and run an autocmd inVimLeave
to automatically remove them instead? 👀
Or :Rocks try
could set up an autocommand for each plugin.
It might be a good idea to detach the process that uninstalls the rock.
A try command would install a plugin but not add it to the rocks.toml, therefore pruning it on the next sync.
This would be useful for temporarily trying out rocks without committing to it.