[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

View file

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