1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 01:15:10 +01:00

Also highlight non-n-prefixed lines as a note

This commit is contained in:
2017-04-11 15:52:01 +02:00
parent 22d21ef39f
commit d0d28b5b3b

View File

@@ -47,6 +47,11 @@ highlight link todoOperator Operator
" Task statuses
syntax match note "\v^n .*$"
syntax match note "\v n .*$"
syntax match note "\v .*$"
highlight note ctermfg=Grey guifg=#eeeeee
syntax match todoStatusDone "\v^v "
syntax match todoStatusDone "\v v "
syntax match todoStatusDone "\v^x "
@@ -76,10 +81,6 @@ syntax match todoStatusQuestion "\v^\? "
syntax match todoStatusQuestion "\v \? "
highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff
syntax match note "\v^n .*$"
syntax match note "\v n .*$"
highlight note ctermfg=Grey guifg=#eeeeee
highlight link todoStatusDone PreProc
highlight link todoStatusDoing PreProc
highlight link todoStatusTodo PreProc