Title
Status bar color does not remain scoped to the active VS Code window
Describe the bug
When Vim: Status Bar Color Control is enabled and multiple VS Code windows are open, the Vim mode itself is reported correctly, but the status bar color is not updated independently for each window.
Changing the Vim mode in one VS Code window can also change the status bar color in another window. As a result, a window may show the correct mode text but retain a color associated with the mode of a different window.
To Reproduce
- Enable
Vim: Status Bar Color Control.
- Open two separate VS Code windows.
- Open a file in both windows.
- Enter Insert mode in the first window.
- Switch to the second window and enter Normal mode.
- Switch between the two windows.
- Observe that the mode is correct, but the status bar color may reflect the mode from the other window.
Expected behavior
Each VS Code window should maintain its own status bar color based on the Vim mode active in that window. Changing modes in one window should not affect the status bar color of another window.
Screenshots
The attached screenshot shows that Vim: Status Bar Color Control is enabled.
Additional context
The issue only affects the status bar color. Vim mode detection and the displayed mode are correct.
Title
Status bar color does not remain scoped to the active VS Code window
Describe the bug
When
Vim: Status Bar Color Controlis enabled and multiple VS Code windows are open, the Vim mode itself is reported correctly, but the status bar color is not updated independently for each window.Changing the Vim mode in one VS Code window can also change the status bar color in another window. As a result, a window may show the correct mode text but retain a color associated with the mode of a different window.
To Reproduce
Vim: Status Bar Color Control.Expected behavior
Each VS Code window should maintain its own status bar color based on the Vim mode active in that window. Changing modes in one window should not affect the status bar color of another window.
Screenshots
The attached screenshot shows that
Vim: Status Bar Color Controlis enabled.Additional context
The issue only affects the status bar color. Vim mode detection and the displayed mode are correct.