1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:30:05 +08:00

fix(ctags): skip command when failed to create dir

This commit is contained in:
wsdjeg 2023-03-30 21:45:22 +08:00
parent e9062da7bd
commit 231623f8fb

View File

@ -71,6 +71,8 @@ function! ctags#update(...) abort
if !isdirectory(dir)
if !mkdir(dir, 'p')
call s:LOGGER.warn('failed to create data databases dir:' . dir)
" if failed to create databases, then do not run ctags command.
return
endif
endif
if isdirectory(dir)