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:
parent
8f4d4d9b49
commit
63dfd0031c
7
init.vim
7
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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user