diff --git a/autoload/SpaceVim/layers/edit.vim b/autoload/SpaceVim/layers/edit.vim index 72422c9f5..df3fdf067 100644 --- a/autoload/SpaceVim/layers/edit.vim +++ b/autoload/SpaceVim/layers/edit.vim @@ -41,7 +41,7 @@ function! SpaceVim#layers#edit#plugins() abort if g:spacevim_enable_bepo_layout call add(plugins,[g:_spacevim_root_dir . 'bundle/vim-bepo', { 'merged' : 0}]) endif - if s:CMP.has('python') || s:CMP.has('python3') + if s:CMP.has('python3') || s:CMP.has('python') call add(plugins,[g:_spacevim_root_dir . 'bundle/vim-mundo', { 'on_cmd' : 'MundoToggle'}]) else call add(plugins,[g:_spacevim_root_dir . 'bundle/undotree', { 'on_cmd' : 'UndotreeToggle'}]) @@ -75,7 +75,7 @@ function! SpaceVim#layers#edit#config() abort " }}} - if s:CMP.has('python') || s:CMP.has('python3') + if s:CMP.has('python3') || s:CMP.has('python') nnoremap :MundoToggle else nnoremap :UndotreeToggle diff --git a/autoload/SpaceVim/layers/leaderf.vim b/autoload/SpaceVim/layers/leaderf.vim index 38537d64b..5023f3610 100644 --- a/autoload/SpaceVim/layers/leaderf.vim +++ b/autoload/SpaceVim/layers/leaderf.vim @@ -16,7 +16,7 @@ let s:CMP = SpaceVim#api#import('vim#compatible') function! SpaceVim#layers#leaderf#loadable() abort - return s:CMP.has('python') || s:CMP.has('python3') + return s:CMP.has('python3') || s:CMP.has('python') endfunction