mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 02:25:11 +01:00
Highlight a 'timeslot': [<something>-<something>]
This commit is contained in:
@@ -82,7 +82,10 @@ syntax match todoStatusQuestion "\v \? "
|
|||||||
highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff
|
highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff
|
||||||
|
|
||||||
" Highlight matching brackets (for example a timeslot)
|
" 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 todoStatusDone PreProc
|
||||||
highlight link todoStatusDoing PreProc
|
highlight link todoStatusDoing PreProc
|
||||||
|
|||||||
Reference in New Issue
Block a user