Skip to content

Instantly share code, notes, and snippets.

@wordijp
Last active November 13, 2017 11:04
Show Gist options
  • Save wordijp/7dfec7a38b777d84e6eaaec28c941061 to your computer and use it in GitHub Desktop.
Save wordijp/7dfec7a38b777d84e6eaaec28c941061 to your computer and use it in GitHub Desktop.
VimでYouCompleteMe & Ternの環境
1. それぞれをインストール
NeoBundle 'Valloric/YouCompleteMe'
NeoBundle 'marijnh/tern_for_vim'
2. npm install -g tern
3. ホームディレクトリに.tern-configを置く
読み込まれるtern用設定は、
プロジェクトのpackage.jsonと同じディレクトリの.tern-projectを探し、
なければホームディレクトリの.tern-configを探す
4. ternを裏で立ち上げておく
これをしないと補完が効かない
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment