From 680bf0196b6e113fd141e40c8f5e39c7a3e3cfbb Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 29 Sep 2025 15:04:23 +0200 Subject: [PATCH] Italics are neat --- .vim/syntax/todo.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vim/syntax/todo.vim b/.vim/syntax/todo.vim index 3224daa..bfeaf69 100644 --- a/.vim/syntax/todo.vim +++ b/.vim/syntax/todo.vim @@ -51,16 +51,16 @@ highlight scratchThis ctermfg=Grey guifg=#666666 " Task statuses syntax match todoNote "\v^\s{-}n .*$" nextgroup=todoNote syntax match todoNote "\v^ .*$" nextgroup=todoNote -highlight todoNote ctermfg=Grey guifg=#666666 +highlight todoNote ctermfg=Grey guifg=#666666 cterm=italic syntax match todoStatusDone "\v^\s{-}v " nextgroup=todoItem skipwhite highlight todoStatusDone ctermfg=green guifg=#00ff00 syntax match todoStatusCancelled "\v^\s{-}x .*$" nextgroup=todoItem skipwhite -highlight todoStatusCancelled ctermfg=DarkGreen guifg=#005f00 +highlight todoStatusCancelled ctermfg=DarkGreen guifg=#005f00 cterm=italic syntax match todoStatusDoing "\v^\s{-}d .*$" nextgroup=todoItem skipwhite -highlight todoStatusDoing ctermfg=223 guifg=#f0dfaf +highlight todoStatusDoing ctermfg=223 guifg=#f0dfaf cterm=italic syntax match todoStatusTest "\v^\s{-}t " nextgroup=todoItem skipwhite highlight todoStatusTest ctermfg=darkcyan guifg=#6666ff @@ -70,7 +70,7 @@ highlight todoStatusTodo ctermfg=red guifg=#ff0000 syntax match todoStatusImportant "\v^\s{-}\> .*$" nextgroup=todoItem skipwhite syntax match todoStatusImportant "\v^\s{-}! .*$" nextgroup=todoItem skipwhite -highlight todoStatusImportant ctermfg=167 guifg=#d75f5f +highlight todoStatusImportant ctermfg=167 guifg=#d75f5f cterm=italic syntax match todoStatusQuestion "\v^\s{-}\? " nextgroup=todoItem skipwhite highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff