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

Highlight a 'timeslot': [<something>-<something>]

This commit is contained in:
2018-01-02 12:43:53 +01:00
parent 1162f2cb23
commit d668726052

View File

@@ -82,7 +82,10 @@ syntax match todoStatusQuestion "\v \? "
highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff
" Highlight matching brackets (for example a timeslot)
syntax match brack /[\[\]]/ | hi brack ctermfg=DarkMagenta
"syntax match brack /[\[\]]/ | hi brack ctermfg=DarkMagenta
syntax match timeslot "\v\[.*-.*\] "
highlight timeslot ctermfg=Magenta
highlight link todoStatusDone PreProc
highlight link todoStatusDoing PreProc