vim-taskpaper
vim-taskpaper copied to clipboard
Change icon of TODO item
I would like to use a custom icon for a TODO item, replacing - (dash) with ☐. How do I configure this option?
I would like to use a custom icon for a TODO item, replacing - (dash) with ☐. How do I configure this option?
It's a font glyph, not an icon, and I only say this because the plugin isn't creating that but recognizing it based on pattern matching. I'm not positive but I think this line in the syntax definition tells the plugin what to assume is a task item.
You could try changing that line from
syn match taskpaperListItem /^\t*-\s\+/
to
syn match taskpaperListItem /^\t*☐\s\+/
Of course, I expect you'd need to write tasks using ☐
rather than defining them with -
, which may be a pain.