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

fix(defx): use defx for nvim 0.4.0+

This commit is contained in:
Eric Wong 2024-06-02 19:50:18 +08:00
parent 271c76e792
commit 47bbf8efc0

View File

@ -159,6 +159,9 @@ function! s:apply(config, type) abort
if value ==# 'defx' && !has('python3')
call SpaceVim#logger#warn('defx requires +python3!')
continue
elseif value ==# 'defx' && has('nvim') && !has('nvim-0.4.0')
call SpaceVim#logger#warn('defx requires nvim 0.4.0+!')
continue
elseif value ==# 'neo-tree' && !has('nvim')
call SpaceVim#logger#warn('neo-tree requires neovim')
continue