mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-24 18:52:22 +08:00
fix(defx): use defx for nvim 0.4.0+
This commit is contained in:
parent
271c76e792
commit
47bbf8efc0
@ -159,6 +159,9 @@ function! s:apply(config, type) abort
|
|||||||
if value ==# 'defx' && !has('python3')
|
if value ==# 'defx' && !has('python3')
|
||||||
call SpaceVim#logger#warn('defx requires +python3!')
|
call SpaceVim#logger#warn('defx requires +python3!')
|
||||||
continue
|
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')
|
elseif value ==# 'neo-tree' && !has('nvim')
|
||||||
call SpaceVim#logger#warn('neo-tree requires neovim')
|
call SpaceVim#logger#warn('neo-tree requires neovim')
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user