diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-12 17:49:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 17:49:09 -0500 |
commit | 9c56d8e5f792cf770ebe88d9488549b4106b06a9 (patch) | |
tree | 71ec536118f45db40fb2c0e2541a79edd170ebf9 /runtime | |
parent | 257c0f89a926b76a6a8d95ea8bd45a707a47bbb4 (diff) | |
parent | d5ab4b800c321d6cdd2cb308a9cdbaa3fa66cd8d (diff) | |
download | rneovim-9c56d8e5f792cf770ebe88d9488549b4106b06a9.tar.gz rneovim-9c56d8e5f792cf770ebe88d9488549b4106b06a9.tar.bz2 rneovim-9c56d8e5f792cf770ebe88d9488549b4106b06a9.zip |
Merge pull request #13522 from janlazo/vim-8.2.2130
vim-patch:8.1.1089,8.2.2130
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/autoload/tutor.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoload/tutor.vim b/runtime/autoload/tutor.vim index 3265fdde36..6afe64de84 100644 --- a/runtime/autoload/tutor.vim +++ b/runtime/autoload/tutor.vim @@ -120,6 +120,12 @@ function! s:Locale() let l:lang = v:lang elseif $LC_ALL =~ '\a\a' let l:lang = $LC_ALL + elseif $LC_MESSAGES =~ '\a\a' || $LC_MESSAGES ==# "C" + " LC_MESSAGES=C can be used to explicitly ask for English messages while + " keeping LANG non-English; don't set l:lang then. + if $LC_MESSAGES =~ '\a\a' + let l:lang = $LC_MESSAGES + endif elseif $LANG =~ '\a\a' let l:lang = $LANG else |