Meriel Luna Mittelbach
Meriel Luna Mittelbach
I ended up poking apart the code and figured out why I couldn't get it working Only the 'keyword' part of the pattern is highlighted. However, you can't extend the...
I've opened a pull request implementing this feature (#255). If you'd like to try it out, you can use the following lazy.nvim spec: ```lua { -- https://github.com/folke/todo-comments.nvim/pull/255 'LunarLambda/todo-comments.nvim', branch =...
I hadn't seen #180. It's matching logic is more fuzzy, For example, it assumes the pattern ends with a single character that shouldn't be highlighted (e.g. `:`) and it looks...
It does if you use the "wide" highlighting (default configuration), see the screenshot in https://github.com/folke/todo-comments.nvim/issues/185#issuecomment-1972101975
move the `:` inside the capturing group of the pattern, and use the non-wide highlighting (I'm outside right now so I can't give a config example)
Option to make multiblocks process available recipes in a round-robin way instead of sticking to one
+1 for the idea.
In Rust 1.79 this is now `bytes.utf8_chunks().next().map_or("", std::str::Utf8Chunk::valid)` or variations thereof.