neovim

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

commit 092e49d020aede54cf5fb586b1d8ab32defa9d67
parent a2daa3c0c0511ec85f787e76356e853ef6359268
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue, 27 May 2025 07:47:28 +0800

build: unset $TMUX when running tests (#34178)

This prevents Nvim TUI running in tests from thinking it's inside tmux.

Another solution is make :terminal unset $TMUX instead, but I'm not sure
if that'll break some other use cases.
Diffstat:
Mcmake/RunTests.cmake | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake @@ -7,6 +7,7 @@ set(ENV{XDG_DATA_HOME} ${BUILD_DIR}/Xtest_xdg/share) set(ENV{XDG_STATE_HOME} ${BUILD_DIR}/Xtest_xdg/state) unset(ENV{XDG_DATA_DIRS}) unset(ENV{NVIM}) # Clear $NVIM in case tests are running from Nvim. #11009 +unset(ENV{TMUX}) # Nvim TUI shouldn't think it's running in tmux. #34173 # TODO(dundargoc): The CIRRUS_CI environment variable isn't passed to here from # the main CMakeLists.txt, so we have to manually pass it to this script and