Skip to content

The 'light' background can't work when setting colorscheme to the 'visual_studio_code' #8

Description

@alexya

I like the Visual Studio Code default color scheme Light+ very much and found that you are creating a color scheme including light and dark like Visual Studio Code for Neovim. Thank you very much.

macOS: Sonoma 14.4.1
iterm2: Build 3.4.23
NVIM v0.9.5

My config is here: https://github.com/alexya/josean-dev-env/tree/main/.config/nvim

I set to use the <leader>bg to switch background, and <leader>co to change the colorscheme. (The leader is space key)
Please watch the repro video, when changing from the modus colorscheme to tokyonight, it worked fine. But next when I tried to switch to visual_studio_code, it failed. And changed the background to 'dark' automatically. Even if I forced to set it to 'light', it still shows as 'dark' with incorrect color. All the other colorscheme can work fine under 'light' and 'dark'.

I tried to rm -rf ~/.local/share/nvim and opened Neovim again. The problem still existed.

I don't know why. I am not good at debugging Neovim and its plugins. Any help will be much appreciated.
thx.

repro video
neovim-vscode-theme-issue.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions