From a2540ef183b7eeac0072873f6b5c67f9406af765 Mon Sep 17 00:00:00 2001 From: Lucario387 Date: Fri, 23 Dec 2022 19:29:25 +0900 Subject: [PATCH] Fix mkdir on windows --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3ee09a5..5f78b57 100644 --- a/init.lua +++ b/init.lua @@ -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"