craftzdog / solarized-osaka.nvim

🏯 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins.
Apache License 2.0
650 stars 29 forks source link

bug: Winbar background flash #26

Closed BBboy01 closed 6 months ago

BBboy01 commented 6 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

0.9.5

Operating system/version

14.3.1

Describe the bug

Using (lspsaga](https://github.com/nvimdev/lspsaga.nvim) with breadcrumb, Winbar background flash while cursor moves around empty line or function call and statement

Steps To Reproduce

https://github.com/craftzdog/solarized-osaka.nvim/assets/59885141/000998e5-e048-4a13-8a2b-a1a273ff0e9f

function call with winbar background CleanShot 2024-03-07 at 12 47 59@2x

empty line with winbar background CleanShot 2024-03-07 at 12 48 14@2x

statment without background CleanShot 2024-03-07 at 12 48 23@2x

Expected Behavior

always with/without background color

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "craftzdog/solarized-osaka.nvim",
  "craftzdog/solarized-osaka.nvim",
  -- add any other plugins here
  "nvimdev/lspsaga.nvim"
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("solarized-osaka")
-- add anything else here
craftzdog commented 6 months ago

it is nothing to do with this theme

BBboy01 commented 5 months ago

has been fixed by https://github.com/nvimdev/lspsaga.nvim/pull/1410