mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
Set encoding
This commit is contained in:
parent
f03c8efe5c
commit
2af98617bc
@ -6,7 +6,6 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
scriptencoding utf-8
|
|
||||||
let s:SYSTEM = SpaceVim#api#import('system')
|
let s:SYSTEM = SpaceVim#api#import('system')
|
||||||
|
|
||||||
" Fsep && Psep
|
" Fsep && Psep
|
||||||
@ -63,7 +62,9 @@ if s:SYSTEM.isWindows
|
|||||||
|
|
||||||
else
|
else
|
||||||
" set default encoding to utf-8
|
" set default encoding to 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,ucs-bom,gb18030,gbk,gb2312,cp936
|
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
|
||||||
endif
|
endif
|
||||||
|
scriptencoding utf-8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user