python: configure provider inside a virtualenv
This should helps autocomplete and linting for python, when working inside a virtualenv in which no python-neovim is installed. Co-Authored-by: Igor Milhit <igor@milhit.ch>server
parent
8e4a32e385
commit
17af06c00a
3
init.vim
3
init.vim
|
@ -155,6 +155,9 @@ let g:jedi#completions_enabled = 0
|
|||
" open the go-to function in split, not another buffer
|
||||
let g:jedi#use_splits_not_buffers = "right"
|
||||
|
||||
" Python provider in a pyenv
|
||||
let g:python3_host_prog = '/home/igor/.pyenv/versions/neovim3/bin/python'
|
||||
|
||||
" Python linting
|
||||
let g:neomake_python_enabled_makers = ['flake8']
|
||||
|
||||
|
|
Loading…
Reference in New Issue