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

change custom variable location

This commit is contained in:
jdhao 2020-09-30 15:51:29 +08:00
parent 8f4d4d9b49
commit 63dfd0031c
2 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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