diff options
| author | jdhao <jdhao@hotmail.com> | 2022-08-06 22:36:49 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-08-06 22:36:49 +0800 |
| commit | 3de31f7d0a4a45d480b80425a2c8b5037a6f7e8e (patch) | |
| tree | 29a2ff786e8c8a271a0e53965ae4e0e0ced3dc03 | |
| parent | 6b59c268f9a75cfbd3e9c87853c6686d2f07fc2c (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.
| -rw-r--r-- | core/globals.vim | 4 |
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 |
