bug: selected todo in quickfix list has bad highlight
Did you check docs and existing issues?
- [x] I have read all the todo-comments.nvim docs
- [x] I have updated the plugin to the latest version before submitting this issue
- [x] I have searched the existing issues of todo-comments.nvim
- [x] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.12.0-dev-1224+gf1a8bb45ca-Homebrew
Operating system/version
macOS Tahoe
Describe the bug
When a todo item is selected in quickfix list, the bg highlight is taken over by the selection, making some text unreadable.
Steps To Reproduce
-
TodoQuickfix - Navigate the qf list, and select items, observe the highlights
Expected Behavior
The selected line should have a more consistent highlight. For example, when a line is selected, the keyword should be re-highlighted like the comment body.
However, this may not be possible at all, since once the QF list is populated, perhaps there's no way to know which line is selected and re-highlight it?
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/todo-comments.nvim", opts = {} },
-- add any other plugins here
},
})
Supersedes #354
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.
Still valid
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.
still relevant