Fix mkdir on windows
This commit is contained in:
parent
9bd303feee
commit
a2540ef183
2
init.lua
2
init.lua
|
@ -18,7 +18,7 @@ if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
print "Cloning packer .."
|
print "Cloning packer .."
|
||||||
fn.system { "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }
|
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
|
-- install plugins + compile their configs
|
||||||
vim.cmd "packadd packer.nvim"
|
vim.cmd "packadd packer.nvim"
|
||||||
|
|
Loading…
Reference in New Issue