vim-todo-lists
vim-todo-lists copied to clipboard
Using vim-plug
First of all thanks for the plugin.
When I try to use it via vim-plug as following:
Plug 'aserebryakov/vim-todo-lists', { 'for': 'todo' }
It doesn't seem to work even though I did configure filetype correctly:
autocmd BufRead,BufNewFile *.todo set ft=todo
It does work if I add call VimTodoListsInit:
autocmd BufRead,BufNewFile *.todo set ft=todo | call VimTodoListsInit()
but I find this solution a bit of a hack.
🆙 It'd be great to address this issue! Thanks for showing the workaround.
You can just add the plugin without arguments to Plug and without calling autocmd. Adding this to .vimrc (Vim 9.1) works out-of-the-box:
Plug 'aserebryakov/vim-todo-lists'