Hi, i am using this theme almost half a year and everything was fine, but a couple weeks ago, after updating plugins - this strange bug appeared. I cannot find any similar issues (but there is a chance, that i'm just blind :) ), so have to create one.
Problem definition
There is no text highlight below selection in visual mode (no matter which mode is it: regular/line/block). Such behaviour appears only if the transparent_bg
is set to true
, otherwise everything works as it should be.
PoC
Environment details
- OS: EndeavourOS Linux / MacOS 14 Sonoma
- Terminals: alacritty / wezTerm
- nvim 0.9.5
- plugin manager: Lazy (latest stable)
- nordic.nvim (tested on both main and dev branches)
Nordic setup is pretty much same as default, just added few mods.
{
'AlexvZyl/nordic.nvim',
branch = "dev",
lazy = false,
priority = 1000,
config = function()
require 'nordic' .setup {
-- This callback can be used to override the colors used in the palette.
on_palette = function(palette) return palette end,
-- Enable bold keywords.
bold_keywords = false,
-- Enable italic comments.
italic_comments = true,
-- Enable general editor background transparency.
transparent_bg = true,
-- Enable brighter float border.
bright_border = false,
-- Reduce the overall amount of blue in the theme (diverges from base Nord).
reduced_blue = true,
-- Swap the dark background with the normal one.
swap_backgrounds = true,
-- Override the styling of any highlight group.
override = {
LineNr = {
-- fg = "#b07c05",
fg = "#60728A",
bold = true,
},
},
-- Cursorline options. Also includes visual/selection.
cursorline = {
-- Bold font in cursorline.
bold = false,
-- Bold cursorline number.
bold_number = true,
-- Avialable styles: 'dark', 'light'.
theme = 'dark',
-- Blending the cursorline bg with the buffer bg.
blend = 0.7,
},
noice = {
-- Available styles: `classic`, `flat`.
style = 'classic',
},
telescope = {
-- Available styles: `classic`, `flat`.
style = 'classic',
},
leap = {
-- Dims the backdrop when using leap.
dim_backdrop = false,
},
ts_context = {
-- Enables dark background for treesitter-context window
dark_background = true,
}
}
vim.cmd.colorscheme 'nordic'
end
},
Related notes to which I would like to draw attention
On previous installed version (unfortunately I can't remember which one), even with enabled transparent background, floating windows (such as Lazy or Mason) kept their non-transparent bg, which in my opinion, was much more convenient than now. Perhaps it would be worth (if it is possible) making a separate switch to leave opaque color for them or at least change it?
P.S. Also want to thank you for creating and maintaining this marvelous theme!