Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
695 stars 112 forks source link

incorrect colors with flash.nvim #211

Open JohnFinn opened 4 days ago

JohnFinn commented 4 days ago

When using the colorscheme with flash.nvim text is highlighted and grayed out incorrectly (Starting from 3rd second Zen mode with twilight is activated.) Instead of being grayed out it's greened out, and highlight colors are too dim.

https://github.com/user-attachments/assets/957c2425-7657-41a6-af00-c167be7b4f44

I think expected behavior would be similar to tokyonight.nvim where text gets gray and "jump" symbols are very bright

https://github.com/user-attachments/assets/dbe6715f-0d29-4b2c-b407-427d41c7e0b7

JohnFinn commented 4 days ago

The following code seems to fix the issue

local colors = require("vscode.colors").get_colors()
require("vscode").setup({
  group_overrides = {
    FlashBackdrop = { fg = colors.vscGray },
    FlashLabel = { bg = "#fd0178" },
  },
})