aboutsummaryrefslogtreecommitdiff
path: root/core/globals.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-08-06 22:36:49 +0800
committerjdhao <jdhao@hotmail.com>2022-08-06 22:36:49 +0800
commit3de31f7d0a4a45d480b80425a2c8b5037a6f7e8e (patch)
tree29a2ff786e8c8a271a0e53965ae4e0e0ced3dc03 /core/globals.vim
parent6b59c268f9a75cfbd3e9c87853c6686d2f07fc2c (diff)
disable language command in macOS for now
Due to packaging issue, nvim version 0.7.2 for macOS does not have `:language` command built in, see also neovim/neovim#19127.
Diffstat (limited to 'core/globals.vim')
-rw-r--r--core/globals.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/globals.vim b/core/globals.vim
index 2c06a1a..b6103ec 100644
--- a/core/globals.vim
+++ b/core/globals.vim
@@ -37,7 +37,9 @@ let g:mapleader = ','
let g:vimsyn_embed = 'l'
" Use English as main language
-language en_US.utf-8
+if !g:is_mac
+ language en_US.utf-8
+endif
" use filetype.lua instead of filetype.vim
let g:do_filetype_lua = 1