aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-28Add TODOTeddy Wing
Include some annoyances.
2016-04-26Highlight deleted TODOsTeddy Wing
Show them in Ignore so that they're not as prominent.
2016-04-21Highlight completed tasks as `Ignore`Teddy Wing
Use the `Ignore` highlight group to colour completed tasks. This makes them less visible and get out of the way.
2016-04-20Add a highlight category for unimportant tasksTeddy Wing
Have low priority tasks start with `_` instead of `-`. Highlight these separately with the `Ignore` group to visually de-emphasize them.
2016-04-20Highlight important tasksTeddy Wing
Important tasks start with a `!` instead of a `-`. Highlight them separately from normal tasks so that they can be visually distinguished. Here we use the Error highlight group for them because it's red (at least in my colour scheme).
2016-04-19ftdetect/todo.vim: Don't remove partially completed todos with <leader>RTeddy Wing
When invoking the <leader>R command to remove old todos, only remove completed and deleted ones. Partially completed tasks should stick around and be reverted to uncomplete.
2016-04-05ftplugin: Use :nohlsearch in mappingsTeddy Wing
Don't highlight matches from our `:substitute` calls. It looks weird when search matches are highlighted but the user didn't explicitly initiate a search.
2016-04-05Add ftplugin with mappingsTeddy Wing
Create some useful mappings for creating and marking TODO items. These will be buffer-local to *.todo files, which is why we're defining them in the ftplugin file.
2016-04-05syntax/todo.vim: Highlight TODOs that start with whitespaceTeddy Wing
Subtasks get indented. This will highlight undone tasks even if there's whitespace in front of them.
2016-04-05syntax/todo.vim: Remove old highlight codeTeddy Wing
These lines were copied from my manual highlighting of TODO files created a few days ago. They served as a guide while creating the highlighting in the syntax file.
2016-04-05Add syntax fileTeddy Wing
Based on Ch. 45 of Learn Vimscript the Hard Way (http://learnvimscriptthehardway.stevelosh.com/chapters/45.html). Highlights undone TODOs as Vim `Statement`s.
2016-04-05Add ftdetectTeddy Wing
Set *.todo files to the `todo` filetype.