try and make everything confined to 80chars
This commit is contained in:
9
init.lua
9
init.lua
@ -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
|
||||
|
Reference in New Issue
Block a user