- upgrade nvim (in my case, I have the master version):
$ brew tap neovim/neovim
$ brew reinstall --HEAD neovim
- check Python 2 and 3, if are installed:
$ which python2
$ which python3
- setup path configs for neovim:
" Neovim requires Python paths
let g:python_host_prog = '/usr/local/bin/python2'
let g:python3_host_prog = '/usr/local/bin/python3'
- use pip to install python-neovim client:
$ pip2 install --upgrade neovim
$ pip3 install --upgrade neovim
- install ternjs:
$ npm install -g ternjs
- install https://github.com/Shougo/deoplete.nvim and let it start with
let g:deoplete#enable_at_startup = 1
- configure https://github.com/carlitux/deoplete-ternjs with default options
- provide a
.tern-project
in my directory, with content based on: https://github.com/carlitux/deoplete-ternjs/blob/master/tests/.tern-project
The latest step is important, since ternjs
needs to know where and what to load.
The latest step is important, since ternjs
needs to know where and what to load.
You may need to run :CheckHealth
and :UpdateRemotePlugins
inside Neovim after upgrading or installing the python-neovim
client.
$ npm install tern -g # not ternjs