Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added 'In Progress' state

You can now add the INPROGRESS, CURRENT or STARTED keyword to indicate
work on a given task has been started.
  • Loading branch information...
1 parent 4907b6c commit 85902b50a0b1d76502dc4653e514f5246a22eb35 @GeorgeSG GeorgeSG committed
Showing with 6 additions and 2 deletions.
  1. +6 −2 syntax/notes.vim
8 syntax/notes.vim
@@ -51,7 +51,7 @@ highlight def link notesDoubleQuoted String
" Highlight text emphasized in italic font. {{{2
if has('conceal')
syntax region notesItalic matchgroup=notesItalicMarker start=/\<_\k\@=/ end=/_\>\|\n/ contains=@Spell concealends
- highlight link notesItalicMarker notesHiddenMarker
+ highlight link notesItalicMarker notesHiddenMarker
syntax match notesItalic /\<_\k[^_]*\k_\>/
@@ -61,7 +61,7 @@ highlight notesItalic gui=italic cterm=italic
" Highlight text emphasized in bold font. {{{2
if has('conceal')
syntax region notesBold matchgroup=notesBoldMarker start=/\*\k\@=/ end=/\S\@<=\*/ contains=@Spell concealends
- highlight link notesBoldMarker notesHiddenMarker
+ highlight link notesBoldMarker notesHiddenMarker
syntax match notesBold /\*\k[^*]*\k\*/
@@ -99,6 +99,9 @@ highlight def link notesWindowsPath Directory
syntax match notesTodo /\<TODO\>/
syntax match notesXXX /\<XXX\>/
syntax match notesFixMe /\<FIXME\>/
+syntax match notesInProgress /\<INPROGRESS\>/
+syntax match notesInProgress /\<STARTED\>/
+syntax match notesInProgress /\<CURRENT\>/
syntax match notesDoneItem /^\(\s\+\).*\<DONE\>.*\(\n\1\s.*\)*/ contains=@notesInline
syntax match notesDoneMarker /\<DONE\>/ containedin=notesDoneItem
highlight def link notesTodo WarningMsg
@@ -106,6 +109,7 @@ highlight def link notesXXX WarningMsg
highlight def link notesFixMe WarningMsg
highlight def link notesDoneItem Comment
highlight def link notesDoneMarker Question
+highlight def link notesInProgress Directory
" Highlight Vim command names in :this notation. {{{2
syntax match notesVimCmd /:\w\+\(!\|\>\)/ contains=ALLBUT,@Spell

0 comments on commit 85902b5

Please sign in to comment.
Something went wrong with that request. Please try again.