Use glob() in list mode, duh
This commit is contained in:
parent
3ac7944add
commit
8f3f5d376f
1 changed files with 2 additions and 2 deletions
4
vimrc
4
vimrc
|
@ -27,7 +27,7 @@ endif
|
||||||
" Execute configuration in cfg-pre/, which should in turn execute the main
|
" Execute configuration in cfg-pre/, which should in turn execute the main
|
||||||
" configuration in cfg/
|
" configuration in cfg/
|
||||||
let s:cfg_bits_path = g:vim_home . '/cfg-pre'
|
let s:cfg_bits_path = g:vim_home . '/cfg-pre'
|
||||||
let s:cfg_files = glob( s:cfg_bits_path . '/??-?*.vim' )
|
let s:cfg_files = glob( s:cfg_bits_path . '/??-?*.vim' , 0 , 1 )
|
||||||
for s:cfg_file in sort( split( s:cfg_files , "\n" ) )
|
for s:cfg_file in sort( s:cfg_files )
|
||||||
execute 'source ' . s:cfg_file
|
execute 'source ' . s:cfg_file
|
||||||
endfor
|
endfor
|
||||||
|
|
Loading…
Reference in a new issue