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:
parent
2e69db6551
commit
e5d640daec
3
init.vim
3
init.vim
@ -20,8 +20,7 @@ let g:config_file_list = [
|
|||||||
\ 'themes.vim'
|
\ 'themes.vim'
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
let g:nvim_config_root = expand('<sfile>:p:h')
|
|
||||||
for s:fname in g:config_file_list
|
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
|
endfor
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user