diff --git a/vimrc b/vimrc index 0c18d8c..cb1ecc8 100644 --- a/vimrc +++ b/vimrc @@ -433,10 +433,10 @@ endfun command! Snapshot call snapshot() command! -nargs=? Scratch enew | set buftype=nofile | set filetype= -command! Todo enew | set buftype=nofile | set filetype=markdown | - \ call matchadd('Todo', '^\s*\[ \?\].*$') | +command! Todo call matchadd('Todo', '^\s*\[ \?\].*$') | \ call matchadd('Comment', '^\s*\[x\].*$') | - \ call matchadd('Error', '^\s*\[-\].*$') + \ call matchadd('Comment', '^\s*\[-\].*$') | + \ call matchadd('Error', '^\s*\[!\].*$') command! -nargs=? Tempfile exec 'new '.tempname() | set filetype= | au BufDelete call delete(expand('%')) " ┌──────────────────────────┐