todo.nvim
todo.nvim copied to clipboard
TODO's With Spaces Not Found
Hi, I discovered that when you put a space between the TODO and the ':' Telescope and the finders don't find anything. Also i found the fix in the file: lua/todo/config/default.lua The line for the ripgrep regex should be like this to support it:
pattern = [[\b(KEYWORDS)\s*:]] --ripgrep regex
I didn't open a pull request cause I don't know exactly how to do it :')
I don't put a space between the keyword and the colon personally. That's probably why I didn't notice.
To contribute your change. Just fork this repo and create a new branch with the change, then make the pull request. Then I will merge it asap.