1
0
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:
jdhao 2022-08-13 22:45:13 +08:00
parent fdc158272b
commit 4c96243a4c

View File

@ -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