Meriel Luna Mittelbach

Results 147 comments of 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)

In Rust 1.79 this is now `bytes.utf8_chunks().next().map_or("", std::str::Utf8Chunk::valid)` or variations thereof.