11" Vim syntax script
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: June 23 , 2013
3+ " Last Change: July 16 , 2013
44" URL: http://peterodding.com/code/vim/notes/
55
66" Note: This file is encoded in UTF-8 including a byte order mark so
@@ -51,7 +51,7 @@ highlight def link notesDoubleQuoted String
5151" Highlight text emphasized in italic font. {{{2
5252if has (' conceal' )
5353 syntax region notesItalic matchgroup =notesItalicMarker start =/ \< _\k\@ =/ end =/ _\>\|\n / contains =@Spell concealends
54- highlight link notesItalicMarker notesHiddenMarker
54+ highlight link notesItalicMarker notesHiddenMarker
5555else
5656 syntax match notesItalic / \< _\k [^_]*\k _\> /
5757endif
@@ -61,7 +61,7 @@ highlight notesItalic gui=italic cterm=italic
6161" Highlight text emphasized in bold font. {{{2
6262if has (' conceal' )
6363 syntax region notesBold matchgroup =notesBoldMarker start =/ \*\k\@ =/ end =/ \S\@ <=\* / contains =@Spell concealends
64- highlight link notesBoldMarker notesHiddenMarker
64+ highlight link notesBoldMarker notesHiddenMarker
6565else
6666 syntax match notesBold / \*\k [^*]*\k\* /
6767endif
@@ -99,13 +99,15 @@ highlight def link notesWindowsPath Directory
9999syntax match notesTodo / \< TODO\> /
100100syntax match notesXXX / \< XXX\> /
101101syntax match notesFixMe / \< FIXME\> /
102+ syntax match notesInProgress / \<\( CURRENT\| INPROGRESS\| STARTED\| WIP\)\> /
102103syntax match notesDoneItem / ^\(\s\+\) .*\< DONE\> .*\(\n\1\s .*\) */ contains =@notesInline
103104syntax match notesDoneMarker / \< DONE\> / containedin =notesDoneItem
104105highlight def link notesTodo WarningMsg
105106highlight def link notesXXX WarningMsg
106107highlight def link notesFixMe WarningMsg
107108highlight def link notesDoneItem Comment
108109highlight def link notesDoneMarker Question
110+ highlight def link notesInProgress Directory
109111
110112" Highlight Vim command names in :this notation. {{{2
111113syntax match notesVimCmd / :\w\+\( !\|\>\) / contains =ALLBUT,@Spell
0 commit comments