1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

Update init.vim

在fencs中支持gbk字符集,放在utf-8之后
This commit is contained in:
ws198601 2017-12-17 22:25:46 +08:00 committed by GitHub
parent ca96a936d5
commit 87b6cdb060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ if WINDOWS()
" fallback into cp1252 instead of eg. iso-8859-15. " fallback into cp1252 instead of eg. iso-8859-15.
" Newer Windows files might contain utf-8 or utf-16 LE so we might " Newer Windows files might contain utf-8 or utf-16 LE so we might
" want to try them first. " want to try them first.
set fileencodings=ucs-bom,utf-8,utf-16le,cp1252,iso-8859-15 set fileencodings=ucs-bom,utf-8,gbk,utf-16le,cp1252,iso-8859-15
endif endif
else else