mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
init.vim --> init.lua cleanup
This commit is contained in:
parent
fdc158272b
commit
4c96243a4c
4
init.lua
4
init.lua
@ -26,11 +26,9 @@ local core_conf_files = {
|
|||||||
"themes.vim",
|
"themes.vim",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- source all the core config files
|
||||||
for _, name in ipairs(core_conf_files) do
|
for _, name in ipairs(core_conf_files) do
|
||||||
local path = string.format("%s/core/%s", vim.fn.stdpath('config'), name)
|
local path = string.format("%s/core/%s", vim.fn.stdpath('config'), name)
|
||||||
local source_cmd = "source " .. path
|
local source_cmd = "source " .. path
|
||||||
vim.cmd(source_cmd)
|
vim.cmd(source_cmd)
|
||||||
end
|
end
|
||||||
-- for s:fname in s:core_conf_files
|
|
||||||
-- execute printf('source %s/core/%s', stdpath('config'), s:fname)
|
|
||||||
-- endfor
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user