mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
fix(tools): check python3
first
This commit is contained in:
parent
97ebba23e6
commit
86077076e2
@ -28,10 +28,10 @@ function! SpaceVim#layers#tools#plugins() abort
|
||||
call add(plugins, [g:_spacevim_root_dir . 'bundle/vim-bookmarks',
|
||||
\ {'merged': 0,
|
||||
\ 'loadconf_before' : 1}])
|
||||
if s:CMP.has('python')
|
||||
call add(plugins, ['gregsexton/VimCalc', {'on_cmd' : 'Calc'}])
|
||||
elseif s:CMP.has('python3')
|
||||
if s:CMP.has('python3')
|
||||
call add(plugins, ['fedorenchik/VimCalc3', {'on_cmd' : 'Calc'}])
|
||||
elseif s:CMP.has('python')
|
||||
call add(plugins, ['gregsexton/VimCalc', {'on_cmd' : 'Calc'}])
|
||||
endif
|
||||
|
||||
return plugins
|
||||
|
Loading…
Reference in New Issue
Block a user