-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the todo-comments.nvim docs
- I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues of todo-comments.nvim
- 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
},
})Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working