[vimrc] Add rust support. Add utf16 support, Fix " pair matching

This commit is contained in:
lhark 2018-02-26 03:14:43 -05:00
parent b2190f6cb3
commit f377c914fc

5
vimrc
View file

@ -112,6 +112,7 @@ if has("unix") || has("mac")
Plugin 'godlygeek/tabular'
Plugin 'tikhomirov/vim-glsl'
Plugin 'beyondmarc/hlsl.vim'
Plugin 'rust-lang/rust.vim'
Plugin 'mzlogin/vim-smali'
Plugin 'jamessan/vim-gnupg'
Plugin 'petRUShka/vim-opencl'
@ -286,7 +287,7 @@ set backspace=indent,eol,start
set scrolloff=10
set scrolljump=10
set showmatch
set matchpairs=":"
set matchpairs=\":\"
set matchpairs+=(:)
set matchpairs+={:}
set matchpairs+=[:]
@ -375,7 +376,7 @@ set nolinebreak
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8,latin1,cp1251,koi8-r
set fileencodings=utf-8,latin1,cp1251,koi8-r,utf-16le
"[Use UNIX, DOS, MAC FileType]"
set fileformat=unix
set fileformats=unix,mac,dos