LoginSignup
4
2

More than 5 years have passed since last update.

Vim で 「E518: 未知のオプションです」と出た時の対処法

Last updated at Posted at 2015-04-26

Vim で

x = {
  vi: true
}

みたいなファイルを開くと
Vim(buffer):E518: 未知のオプションです: true
とか
modelines の処理中にエラーが検出されました:
みたいなエラーが出たりする

どうやら、modeline君(ファイルごとにオプション設定するやつ)が自分が呼ばれてると思ってるので切る

.vimrc
set nomodeline

見るのはコメントの中だけにして欲しいと思った(小学生並みの感想)

4
2
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
2