tv vim: add todoComment
This commit is contained in:
parent
8791713f20
commit
cfb756c7b1
@ -151,7 +151,7 @@ let {
|
|||||||
setlocal foldmethod=syntax
|
setlocal foldmethod=syntax
|
||||||
'';
|
'';
|
||||||
"/syntax/todo.vim".text = ''
|
"/syntax/todo.vim".text = ''
|
||||||
syn match Comment /#.*/
|
syn match todoComment /#.*/
|
||||||
|
|
||||||
syn match todoDate /^[1-9]\S*/
|
syn match todoDate /^[1-9]\S*/
|
||||||
\ nextgroup=todoSummary
|
\ nextgroup=todoSummary
|
||||||
@ -173,6 +173,7 @@ let {
|
|||||||
|
|
||||||
syn sync minlines=1000
|
syn sync minlines=1000
|
||||||
|
|
||||||
|
hi link todoComment Comment
|
||||||
hi todoDate ctermfg=255
|
hi todoDate ctermfg=255
|
||||||
hi todoSummary ctermfg=229
|
hi todoSummary ctermfg=229
|
||||||
hi todoBlock ctermfg=248
|
hi todoBlock ctermfg=248
|
||||||
|
Loading…
Reference in New Issue
Block a user