Move jedi-vim to opt, only load if compiled with python3
This commit is contained in:
parent
ed65ad8cc9
commit
3d3f1bf66c
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -32,7 +32,7 @@
|
||||||
path = pack/plugins/start/vim-tmux-navigator
|
path = pack/plugins/start/vim-tmux-navigator
|
||||||
url = https://github.com/christoomey/vim-tmux-navigator.git
|
url = https://github.com/christoomey/vim-tmux-navigator.git
|
||||||
[submodule "pack/plugins/start/jedi-vim"]
|
[submodule "pack/plugins/start/jedi-vim"]
|
||||||
path = pack/plugins/start/jedi-vim
|
path = pack/plugins/opt/jedi-vim
|
||||||
url = https://github.com/davidhalter/jedi-vim.git
|
url = https://github.com/davidhalter/jedi-vim.git
|
||||||
[submodule "vim_source"]
|
[submodule "vim_source"]
|
||||||
path = vim_source
|
path = vim_source
|
||||||
|
|
4
vimrc
4
vimrc
|
@ -116,6 +116,10 @@ set noshowmode
|
||||||
" Load all plugins now.
|
" Load all plugins now.
|
||||||
" Plugins need to be added to runtimepath before helptags can be generated.
|
" Plugins need to be added to runtimepath before helptags can be generated.
|
||||||
packloadall
|
packloadall
|
||||||
|
|
||||||
|
if has('python3')
|
||||||
|
packadd! jedi-vim
|
||||||
|
endif
|
||||||
" Load all of the helptags now, after plugins have been loaded.
|
" Load all of the helptags now, after plugins have been loaded.
|
||||||
" All messages and errors will be ignored.
|
" All messages and errors will be ignored.
|
||||||
silent! helptags ALL
|
silent! helptags ALL
|
||||||
|
|
Loading…
Reference in a new issue