1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Merge pull request #1708 from wsdjeg/encode

Set encoding
This commit is contained in:
Wang Shidong 2018-05-10 21:47:55 +08:00 committed by GitHub
commit bd3b7e01ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,6 @@
" License: GPLv3
"=============================================================================
scriptencoding utf-8
let s:SYSTEM = SpaceVim#api#import('system')
" Fsep && Psep
@ -63,7 +62,9 @@ if s:SYSTEM.isWindows
else
" set default encoding to utf-8
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
endif
scriptencoding utf-8