mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix locale setting on SunOS
SunOS kernels use the `en_US.UTF-8` style of locale definition.
This commit is contained in:
parent
1ba8fc558a
commit
06bf2621cd
@ -24,6 +24,9 @@ else
|
|||||||
if s:uname ==# "Darwin\n"
|
if s:uname ==# "Darwin\n"
|
||||||
" in mac-terminal
|
" in mac-terminal
|
||||||
silent exec 'language en_US'
|
silent exec 'language en_US'
|
||||||
|
elseif s:uname ==# "SunOS\n"
|
||||||
|
" in Sun-OS terminal
|
||||||
|
silent exec 'lan en_US.UTF-8'
|
||||||
else
|
else
|
||||||
" in linux-terminal
|
" in linux-terminal
|
||||||
silent exec 'lan en_US.utf8'
|
silent exec 'lan en_US.utf8'
|
||||||
|
Loading…
Reference in New Issue
Block a user