1
1
" Vim syntax script
2
2
" Author: Peter Odding <peter@peterodding.com>
3
- " Last Change: June 23 , 2013
3
+ " Last Change: July 16 , 2013
4
4
" URL: http://peterodding.com/code/vim/notes/
5
5
6
6
" Note: This file is encoded in UTF-8 including a byte order mark so
@@ -51,7 +51,7 @@ highlight def link notesDoubleQuoted String
51
51
" Highlight text emphasized in italic font. {{{2
52
52
if has (' conceal' )
53
53
syntax region notesItalic matchgroup =notesItalicMarker start =/ \< _\k\@ =/ end =/ _\>\|\n / contains =@Spell concealends
54
- highlight link notesItalicMarker notesHiddenMarker
54
+ highlight link notesItalicMarker notesHiddenMarker
55
55
else
56
56
syntax match notesItalic / \< _\k [^_]*\k _\> /
57
57
endif
@@ -61,7 +61,7 @@ highlight notesItalic gui=italic cterm=italic
61
61
" Highlight text emphasized in bold font. {{{2
62
62
if has (' conceal' )
63
63
syntax region notesBold matchgroup =notesBoldMarker start =/ \*\k\@ =/ end =/ \S\@ <=\* / contains =@Spell concealends
64
- highlight link notesBoldMarker notesHiddenMarker
64
+ highlight link notesBoldMarker notesHiddenMarker
65
65
else
66
66
syntax match notesBold / \*\k [^*]*\k\* /
67
67
endif
@@ -99,13 +99,15 @@ highlight def link notesWindowsPath Directory
99
99
syntax match notesTodo / \< TODO\> /
100
100
syntax match notesXXX / \< XXX\> /
101
101
syntax match notesFixMe / \< FIXME\> /
102
+ syntax match notesInProgress / \<\( CURRENT\| INPROGRESS\| STARTED\| WIP\)\> /
102
103
syntax match notesDoneItem / ^\(\s\+\) .*\< DONE\> .*\(\n\1\s .*\) */ contains =@notesInline
103
104
syntax match notesDoneMarker / \< DONE\> / containedin =notesDoneItem
104
105
highlight def link notesTodo WarningMsg
105
106
highlight def link notesXXX WarningMsg
106
107
highlight def link notesFixMe WarningMsg
107
108
highlight def link notesDoneItem Comment
108
109
highlight def link notesDoneMarker Question
110
+ highlight def link notesInProgress Directory
109
111
110
112
" Highlight Vim command names in :this notation. {{{2
111
113
syntax match notesVimCmd / :\w\+\( !\|\>\) / contains =ALLBUT,@Spell
0 commit comments