mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-13 14:48:00 +08:00
Fix #434
This commit is contained in:
parent
cb5438f9b6
commit
3a0e625ff6
@ -15,6 +15,7 @@ else
|
|||||||
let s:Fsep = '/'
|
let s:Fsep = '/'
|
||||||
endif
|
endif
|
||||||
"Use English for anything in vim
|
"Use English for anything in vim
|
||||||
|
try
|
||||||
if WINDOWS()
|
if WINDOWS()
|
||||||
silent exec 'lan mes en_US.UTF-8'
|
silent exec 'lan mes en_US.UTF-8'
|
||||||
elseif OSX()
|
elseif OSX()
|
||||||
@ -32,6 +33,9 @@ else
|
|||||||
silent exec 'lan en_US.utf8'
|
silent exec 'lan en_US.utf8'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E197/
|
||||||
|
call SpaceVim#logger#error('Can not set language to en_US.utf8')
|
||||||
|
endtry
|
||||||
|
|
||||||
" try to set encoding to utf-8
|
" try to set encoding to utf-8
|
||||||
if WINDOWS()
|
if WINDOWS()
|
||||||
|
Loading…
Reference in New Issue
Block a user