Fix mkdir on windows

This commit is contained in:
Lucario387 2022-12-23 19:29:25 +09:00 committed by Sidhanth Rathod
parent 9bd303feee
commit a2540ef183

View file

@ -18,7 +18,7 @@ if fn.empty(fn.glob(install_path)) > 0 then
print "Cloning packer .."
fn.system { "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }
os.execute("mkdir -p " .. vim.g.base46_cache)
vim.fn.mkdir(vim.g.base46_cache, "p")
-- install plugins + compile their configs
vim.cmd "packadd packer.nvim"