aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.vim7
-rw-r--r--variables.vim7
2 files changed, 8 insertions, 6 deletions
diff --git a/init.vim b/init.vim
index 69c6eaf..0807207 100644
--- a/init.vim
+++ b/init.vim
@@ -50,12 +50,6 @@
"}
"{ Main configurations
-let g:is_win = has('win32') || has('win64')
-let g:is_linux = has('unix') && !has('macunix')
-let g:is_mac = has('macunix')
-
-let g:nvim_config_root = expand('<sfile>:p:h')
-
let g:config_file_list = ['variables.vim',
\ 'options.vim',
\ 'autocommands.vim',
@@ -64,6 +58,7 @@ let g:config_file_list = ['variables.vim',
\ 'ui.vim'
\ ]
+let g:nvim_config_root = expand('<sfile>:p:h')
for s:fname in g:config_file_list
execute printf('source %s/%s', g:nvim_config_root, s:fname)
endfor
diff --git a/variables.vim b/variables.vim
index c6af956..a6254c7 100644
--- a/variables.vim
+++ b/variables.vim
@@ -1,4 +1,11 @@
"{ Global Variable
+
+"{{ Custom variables
+let g:is_win = has('win32') || has('win64')
+let g:is_linux = has('unix') && !has('macunix')
+let g:is_mac = has('macunix')
+"}}
+
"{{ Builtin variables
" Disable Python2 support
let g:loaded_python_provider=0