mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-27 19:24:13 +00:00
fix(config): only enable rocks if luarocks
is installed
This commit is contained in:
parent
972baa615b
commit
4e17f856e9
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ M.defaults = {
|
|||
},
|
||||
},
|
||||
rocks = {
|
||||
enabled = true,
|
||||
enabled = vim.fn.executable("luarocks") == 1,
|
||||
root = vim.fn.stdpath("data") .. "/lazy-rocks",
|
||||
server = "https://nvim-neorocks.github.io/rocks-binaries/",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue