From bdf8b6b645dd8cab9666a0e4981588192fd4f60e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 22 Jun 2022 11:06:14 +0000 Subject: [PATCH] Update vim-actodo --- pack/acp/start/vim-actodo/syntax/actodo.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pack/acp/start/vim-actodo/syntax/actodo.vim b/pack/acp/start/vim-actodo/syntax/actodo.vim index d9024fa..b1bd8f1 100644 --- a/pack/acp/start/vim-actodo/syntax/actodo.vim +++ b/pack/acp/start/vim-actodo/syntax/actodo.vim @@ -44,9 +44,13 @@ syntax match actodoDate /\/ highlight actodoName term=bold,underline cterm=bold,underline gui=bold,underline highlight actodoTodo term=bold cterm=bold gui=bold ctermfg=red guifg=red highlight actodoWork term=bold cterm=bold gui=bold ctermfg=green guifg=green -highlight actodoDone term=bold cterm=bold gui=bold ctermfg=LightGray guifg=LightGray highlight actodoDate term=bold cterm=bold gui=bold ctermfg=blue guifg=blue highlight actodoUrl ctermfg=blue guifg=blue highlight actodoTicket term=bold cterm=bold gui=bold ctermfg=DarkCyan guifg=DarkCyan +if &background ==# 'light' + highlight actodoDone term=bold cterm=bold gui=bold ctermfg=LightGray guifg=LightGray +else + highlight actodoDone term=bold cterm=bold gui=bold ctermfg=DarkGray guifg=LightGray +endif let b:current_syntax = 'actodo'