Vim color changed after upgrading to 1.22 #23107

Open
opened 2026-01-31 08:32:36 +00:00 by claunia · 0 comments
Owner

Originally created by @yizeyi18 on GitHub (Apr 2, 2025).

Windows Terminal version

1.22.2362.0

Windows build number

10.0.26100.3624

Other Software

vim 7.4, 8.2, 9.1 in wsl(9.1) or linux(7.4, 8.2, 9.1)
OpenSSH_9.6p1 Ubuntu-3ubuntu13.8, OpenSSL 3.0.13 30 Jan 2024 in wsl
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 in powershell or cmd
cmd (version following windows? cmd --version outputs version of my windows)
powershell 5.1.26100.3624

Steps to reproduce

  • open vim with default scheme
    • in some *nix environment with wt 1.22+
    • remote linux via ssh in windows's shell or wsl, or wsl
    • color of highlighted words looks strange.

Expected Behavior

Behavior as in wt 1.21-, in bare powereshell or in bare cmd.
The color of highlighted comment in vim should be indigo blue, color of git diff index should be purple, as screenshot below shown, which is taken in bare cmd with vim 9.1 running in remote linux.

Image

Image

Actual Behavior

The color of highlighted comment in vim is fluorescent blue-green, color of git diff index is fluorescent blue, as screenshot below shown, which is taken in bare cmd with vim 9.1 running in same remote linux as above.

As tried, the issue appears since wt version 1.22.2362.0, and did not appear until 1.21.10351.0.

Image

Image

Originally created by @yizeyi18 on GitHub (Apr 2, 2025). ### Windows Terminal version 1.22.2362.0 ### Windows build number 10.0.26100.3624 ### Other Software `vim 7.4, 8.2, 9.1` in wsl(9.1) or linux(7.4, 8.2, 9.1) `OpenSSH_9.6p1 Ubuntu-3ubuntu13.8, OpenSSL 3.0.13 30 Jan 2024` in wsl `OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2` in powershell or cmd `cmd` (version following windows? `cmd --version` outputs version of my windows) `powershell 5.1.26100.3624` ### Steps to reproduce - open vim with default scheme - in some *nix environment with wt 1.22+ - remote linux via ssh in windows's shell or wsl, or wsl - color of highlighted words looks strange. ### Expected Behavior Behavior as in wt 1.21-, in bare powereshell or in bare cmd. The color of highlighted comment in vim should be indigo blue, color of git diff index should be purple, as screenshot below shown, which is taken in bare cmd with vim 9.1 running in remote linux. ![Image](https://github.com/user-attachments/assets/4771969c-bc86-4733-b76b-d83bce841046) ![Image](https://github.com/user-attachments/assets/3bb582b7-613b-48f9-8d69-29a3becbdd3e) ### Actual Behavior The color of highlighted comment in vim is fluorescent blue-green, color of git diff index is fluorescent blue, as screenshot below shown, which is taken in bare cmd with vim 9.1 running in same remote linux as above. As tried, the issue appears since wt version `1.22.2362.0`, and did not appear until `1.21.10351.0`. ![Image](https://github.com/user-attachments/assets/33337d7a-06a9-43fa-aafb-fb2a8e63cda0) ![Image](https://github.com/user-attachments/assets/9ad3510f-2753-4030-b60d-d8bd2438fc6f)
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:32:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23107