1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

simplify code

This commit is contained in:
jdhao 2021-10-23 01:29:39 +08:00
parent 2e69db6551
commit e5d640daec

View File

@ -20,8 +20,7 @@ let g:config_file_list = [
\ 'themes.vim'
\ ]
let g:nvim_config_root = expand('<sfile>:p:h')
for s:fname in g:config_file_list
execute printf('source %s/core/%s', g:nvim_config_root, s:fname)
execute printf('source %s/core/%s', stdpath('config'), s:fname)
endfor
"}