diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -9,7 +9,8 @@ end -- bootstrap plugin manager local path = vim.fn.stdpath("data").."/site/pack/deps/opt/dep" if vim.fn.empty(vim.fn.glob(path)) > 0 then - vim.fn.system({ "git", "clone", "--depth=1", "https://git.squi.bid/dep", path }) + vim.fn.system({ "git", "clone", "--depth=1", "https://git.squi.bid/dep", + path }) end vim.cmd("packadd dep") @@ -32,8 +33,10 @@ require("dep") { -- aquire all plugin specs local plugs = {} - for _, file in ipairs(vim.api.nvim_get_runtime_file("lua/conf/plugins/*.lua", true)) do - local ret = misc.include("conf.plugins."..file:gsub("^.*/", ""):gsub("%.lua$", "")) + for _, file in ipairs(vim.api.nvim_get_runtime_file( + "lua/conf/plugins/*.lua", true)) do + local ret = misc.include("conf.plugins."..file:gsub("^.*/", + ""):gsub("%.lua$", "")) if type(ret) ~= "boolean" then plugs[#plugs + 1] = ret end |