[FIX][VIM] No side-effects for 'nocompatible'

This commit is contained in:
Bruno BELANYI 2020-10-28 14:37:59 +01:00
parent 3695e78d96
commit 220873a68f
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
" Basic configuraion {{{
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Don't try to be compatible with Vi
set nocompatible
" Don't try to be compatible with Vi, but avoid side-effects
if &compatible
set nocompatible
endif
" Use UTF-8
set encoding=utf-8
set fileencodings=utf-8