Set python3 interpreter for pynvim, always load JEDI plugin
This commit is contained in:
parent
bec1f5801b
commit
35c802be47
9
vimrc
9
vimrc
|
@ -1,6 +1,9 @@
|
|||
unlet! skip_defaults_vim
|
||||
" source $VIMRUNTIME/defaults.vim
|
||||
|
||||
" Set base python for JEDI
|
||||
let g:python3_host_prog = '~/.pyenv/versions/base/bin/python'
|
||||
|
||||
" fix for wsl starting with REPLACE mode
|
||||
nnoremap <esc>^[ <esc>^[
|
||||
|
||||
|
@ -141,9 +144,7 @@ set noshowmode
|
|||
" Plugins need to be added to runtimepath before helptags can be generated.
|
||||
packloadall
|
||||
|
||||
if has('python3')
|
||||
packadd! jedi-vim
|
||||
endif
|
||||
packadd! jedi-vim
|
||||
" Load all of the helptags now, after plugins have been loaded.
|
||||
" All messages and errors will be ignored.
|
||||
" silent! helptags ALL
|
||||
silent! helptags ALL
|
||||
|
|
Loading…
Reference in a new issue