I want to use deoplete with neovim using python3 as default.
I am trying to set up deoplete for neovim supported with deoplete-deji. I have installed both correctly, and it works as expected, but only for python 2. I have confirmed this by running sys.version_info which shows python2.
Things i have done so far are:
- installed the plugins.
- zchee/deoplete-jedi
- Shougo/deoplete.nvim
- installed neovim using
pipandpip3
set the following deoplete configurations:
let g:deoplete#enable_at_startup = 1
let g:deoplete#file#enable_buffer_path = 1
let g:deoplete#enable_smart_case = 1
let g:deoplete#enable_at_startup = 1
let g:deoplete#file#enable_buffer_path = 1
let g:deoplete#enable_smart_case = 1
When i used let g:loaded_python_provider = 1, everything works as expected, but when i change it to let g:loaded_python3_provider = 1, i am getting Vim(let):E117: Unknown function: provider#python3#Prog when running UpdateRemotePlugins
I am a bit opposed to creating an alias, because i want python to point to python2
Long story short, trying to make python3 default for everything in neovim including deoplete and jedi Thanks!