Skip to content

Instantly share code, notes, and snippets.

@philss
Last active August 12, 2018 13:26
Show Gist options
  • Save philss/abfbb3a79975c33f283e874c9ada5c82 to your computer and use it in GitHub Desktop.
Save philss/abfbb3a79975c33f283e874c9ada5c82 to your computer and use it in GitHub Desktop.
Some details about my installation of Ternjs with Neovim and Deoplete

Ternjs with Neovim

  • 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

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.

@rafaelrinaldi
Copy link

rafaelrinaldi commented Dec 21, 2016

$ npm install tern -g # not ternjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment