mirror of https://github.com/folke/lazy.nvim.git
fix(rocks): windows
This commit is contained in:
parent
7d3f69104f
commit
4ca3e9aa51
|
@ -51,9 +51,6 @@ end
|
||||||
---@param bin string
|
---@param bin string
|
||||||
function M.hererocks.bin(bin)
|
function M.hererocks.bin(bin)
|
||||||
local hererocks = Config.options.rocks.root .. "/hererocks/bin"
|
local hererocks = Config.options.rocks.root .. "/hererocks/bin"
|
||||||
if Util.is_win then
|
|
||||||
bin = bin .. ".bat"
|
|
||||||
end
|
|
||||||
return Util.norm(hererocks .. "/" .. bin)
|
return Util.norm(hererocks .. "/" .. bin)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue