LoginSignup
4
3

More than 5 years have passed since last update.

neovimでsyntax onするとエラーが出る場合の対処

Posted at

neovimの場合、設定ファイルは.vimrcではなく.nvimrc

設定ファイル内でsyntax onすると、起動時にエラーが出た:
https://github.com/neovim/neovim/issues/601

E484: Can't open file /usr/local/Cellar/neovim/HEAD/share/vim/syntax/syntax.vim

VIMRUNTIME環境変数を設定してneovimを起動:

VIMRUNTIME=/usr/local/share/vim/vim74 nvim

alias張りました。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3