Open hsheikhali1 opened 2 years ago
When I install this it works initially, but upon restart I get a grey background as well. I am using NVChad and suspect that something is getting loaded out of order or something is overriding the color.
Working around by setting the colors manually. @hsheikhali1 eg:
vim.cmd("hi TodoSignNOTE guibg=#282a36")
vim.cmd("hi TodoSignTODO guibg=#282a36")
-- etc
For NvChad
users you can fix this with :
["folke/todo-comments.nvim"] = {
requires = {"nvim-lua/plenary.nvim"},
after = "base46", -- Fix the background issue
config = function()
require("todo-comments").setup {}
end
},
I add some trouble with this for certains themes, the default one mostly.
On macos i found that moving the default themes from brew install dir (/usr/share/vim/vim82/colors) to my XDG_DATA_HOME ('~/.config/vim/.vim/colors') fixed the problem for most of them. Instead of a grey color they adapted to the current theme
I think it has to do with write permissions on highlight groups
Hope it helps
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
So I've noticed that there is a persistent grey bg behind the icons and I am not sure how to remove this. Any ideas?
Here is a screenshot of what I mean![Screen Shot 2021-10-29 at 11 01 36 AM](https://user-images.githubusercontent.com/14851850/139457906-5d109a2f-28cd-4258-ae19-20a0097bece4.png)