From 2af98617bc8baa71aad7ef4a256ee511c2c0e669 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 10 May 2018 21:39:04 +0800 Subject: [PATCH] Set encoding --- config/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/init.vim b/config/init.vim index 0dcbe979a..6309d1c53 100644 --- a/config/init.vim +++ b/config/init.vim @@ -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