nvim: Load local.lua if existing
This commit is contained in:
parent
d49211095a
commit
5922546289
|
@ -279,3 +279,9 @@ cmp.setup({
|
||||||
ghost_text = true,
|
ghost_text = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local f = io.open(vim.fn.expand("~/.config/nvim/lua/local.lua"), "r")
|
||||||
|
if f ~= nil then
|
||||||
|
io.close(f)
|
||||||
|
require("local")
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue