Add :TodoFile command to find TODOs

Find all TODOs in the current file and populate the location list with
the results.
This commit is contained in:
Kenneth Benzie 2019-06-05 11:32:59 +01:00
parent 51b95acf90
commit 856c66e150

View File

@ -26,3 +26,6 @@ command! CursorHighlightGroups call do#cursor_highlight_groups()
" Setup and invoke a :TermdebugCommand " Setup and invoke a :TermdebugCommand
command! -nargs=+ -complete=file Debug call do#debug(<f-args>) command! -nargs=+ -complete=file Debug call do#debug(<f-args>)
" Find all TODO items in the current file and populate the location list
command! TodoFile lvimgrep /todo/ %