ソースを参照

move nocompatible to start of vimrc

Daniel Sheffield 3 週間 前
コミット
263b123f18
1 ファイル変更5 行追加1 行削除
  1. 5 1
      vim/vimfiles/vimrc

+ 5 - 1
vim/vimfiles/vimrc

@@ -1,4 +1,8 @@
 unlet! skip_defaults_vim
+
+" Set nocompatible early as it has side-effects
+set nocompatible
+
 runtime defaults.vim
 
 " To make 3rd party includes
@@ -283,7 +287,7 @@ augroup END
 " BASIC SETUP:
 
 " enter the current millenium
-set nocompatible
+" set nocompatible " NOTE: moved to start of vimrc
 
 " enable syntax and plugins (for netrw)
 syntax enable