aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.vim b/init.vim
index 91510ac..ea2d67b 100644
--- a/init.vim
+++ b/init.vim
@@ -8,7 +8,7 @@
" Email: jdhao@hotmail.com
" Blog: https://jdhao.github.io/
-let g:config_files = [
+let s:core_conf_files = [
\ 'globals.vim',
\ 'options.vim',
\ 'autocommands.vim',
@@ -17,6 +17,6 @@ let g:config_files = [
\ 'themes.vim'
\ ]
-for s:fname in g:config_files
+for s:fname in s:core_conf_files
execute printf('source %s/core/%s', stdpath('config'), s:fname)
endfor