todo.nvim icon indicating copy to clipboard operation
todo.nvim copied to clipboard

TODO's With Spaces Not Found

Open lucashdez opened this issue 3 years ago • 1 comments

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 :')

lucashdez avatar Nov 20 '22 12:11 lucashdez

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.

ameertaweel avatar Dec 23 '22 07:12 ameertaweel