[vimrc] Add rust support. Add utf16 support, Fix " pair matching
This commit is contained in:
parent
b2190f6cb3
commit
f377c914fc
1 changed files with 3 additions and 2 deletions
5
vimrc
5
vimrc
|
@ -112,6 +112,7 @@ if has("unix") || has("mac")
|
||||||
Plugin 'godlygeek/tabular'
|
Plugin 'godlygeek/tabular'
|
||||||
Plugin 'tikhomirov/vim-glsl'
|
Plugin 'tikhomirov/vim-glsl'
|
||||||
Plugin 'beyondmarc/hlsl.vim'
|
Plugin 'beyondmarc/hlsl.vim'
|
||||||
|
Plugin 'rust-lang/rust.vim'
|
||||||
Plugin 'mzlogin/vim-smali'
|
Plugin 'mzlogin/vim-smali'
|
||||||
Plugin 'jamessan/vim-gnupg'
|
Plugin 'jamessan/vim-gnupg'
|
||||||
Plugin 'petRUShka/vim-opencl'
|
Plugin 'petRUShka/vim-opencl'
|
||||||
|
@ -286,7 +287,7 @@ set backspace=indent,eol,start
|
||||||
set scrolloff=10
|
set scrolloff=10
|
||||||
set scrolljump=10
|
set scrolljump=10
|
||||||
set showmatch
|
set showmatch
|
||||||
set matchpairs=":"
|
set matchpairs=\":\"
|
||||||
set matchpairs+=(:)
|
set matchpairs+=(:)
|
||||||
set matchpairs+={:}
|
set matchpairs+={:}
|
||||||
set matchpairs+=[:]
|
set matchpairs+=[:]
|
||||||
|
@ -375,7 +376,7 @@ set nolinebreak
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
set fileencoding=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]"
|
"[Use UNIX, DOS, MAC FileType]"
|
||||||
set fileformat=unix
|
set fileformat=unix
|
||||||
set fileformats=unix,mac,dos
|
set fileformats=unix,mac,dos
|
||||||
|
|
Loading…
Reference in a new issue