neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c9b0fe1f41ebaa6815a69ac614a5b2d1bab6f720
parent 24aebbb3de83ef57c01a92ee6315eb8a6e15e402
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 11 Feb 2023 08:20:31 +0800

vim-patch:9.0.1297: wrong value for $LC_CTYPE makes the environ test fail (#22210)

Problem:    Wrong value for $LC_CTYPE makes the environ test fail.
Solution:   Unset $LC_CTYPE when running tests. (closes vim/vim#11963)

https://github.com/vim/vim/commit/962d91643520ec3748fcf5af3263d89ccfcdda92

Co-authored-by: WuerfelDev <dev@wuerfeldev.de>
Diffstat:
Msrc/nvim/testdir/test_environ.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/testdir/test_environ.vim b/src/nvim/testdir/test_environ.vim @@ -73,7 +73,7 @@ func Test_mac_locale() " If $LANG is not set then the system locale will be used. " Run Vim after unsetting all the locale environmental vars, and capture the " output of :lang. - let lang_results = system("unset LANG; unset LC_MESSAGES; " .. + let lang_results = system("unset LANG; unset LC_MESSAGES; unset LC_CTYPE; " .. \ shellescape(v:progpath) .. \ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")