mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 22:40:05 +08:00
16 lines
325 B
VimL
16 lines
325 B
VimL
function! SpaceVim#util#globpath(path, expr) abort
|
|
if has('patch-7.4.279')
|
|
return globpath(a:path, a:expr, 1, 1)
|
|
else
|
|
return split(globpath(a:path, a:expr), '\n')
|
|
endif
|
|
endfunction
|
|
|
|
function! SpaceVim#util#echoWarn(msg) abort
|
|
echohl WarningMsg
|
|
echo a:msg
|
|
echohl None
|
|
endfunction
|
|
|
|
" vim:set et sw=2 cc=80:
|