diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-23 01:29:39 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-23 01:29:39 +0800 |
| commit | e5d640daec0db783dc2a51c53ac7cf1e7704197e (patch) | |
| tree | 927dc18e4b158efc0c103b5b5a446921e19f251c | |
| parent | 2e69db655178fdb0d669348138e18ffafd921497 (diff) | |
simplify code
| -rw-r--r-- | init.vim | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 "} |
