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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user