Cleaner configuration loading
This commit is contained in:
parent
7cbef1668e
commit
519d4aa61f
1 changed files with 2 additions and 3 deletions
5
vimrc
5
vimrc
|
@ -26,8 +26,7 @@ endif
|
|||
|
||||
" Execute configuration in config-bits
|
||||
let s:cfg_bits_path = g:vim_home . '/config-bits'
|
||||
for s:cfg_file in sort(
|
||||
\ split( glob( s:cfg_bits_path . '/??-?*.vim' ) , "\n" ) )
|
||||
let s:cfg_files = glob( s:cfg_bits_path . '/??-?*.vim' )
|
||||
for s:cfg_file in sort( split( s:cfg_files , "\n" ) )
|
||||
execute 'source ' . s:cfg_file
|
||||
endfor
|
||||
|
||||
|
|
Loading…
Reference in a new issue