aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.