Cleaner configuration loading

This commit is contained in:
Emmanuel BENOîT 2015-02-22 11:43:59 +01:00
parent 7cbef1668e
commit 519d4aa61f

5
vimrc
View file

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