Last active
November 13, 2017 11:04
-
-
Save wordijp/7dfec7a38b777d84e6eaaec28c941061 to your computer and use it in GitHub Desktop.
VimでYouCompleteMe & Ternの環境
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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