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: TroubleNormal is not great with folkes/trouble #11

Closed vincentsegard closed 7 months ago

vincentsegard commented 7 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

0.9.2

Operating system/version

Ubuntu 22.04

Describe the bug

Hello,

TroubleNormal makes diagnostics's window from folke/trouble really weird, difficult to read, I commented the line with TroubleNormal in LspTrouble and it looks much better. image

Thank you

Steps To Reproduce

Install folke/trouble.nvim and open diagnostics with :TroubleToggle

Expected Behavior

Readable LspTrouble diagnostic window by changing colors of TroubleNormal image

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 = {
  "folke/trouble.nvim",
  "craftzdog/solarized-osaka.nvim",
  "craftzdog/solarized-osaka.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

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

thanks for reporting