Skip to content
Browse files

Highlights only the priority marker

 - I found the full-line highlighting hard on my eyes
  • Loading branch information...
1 parent af7bdf7 commit 9f3f85d8496a326d184875162c688108146d776d David O'Callaghan committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 syntax/todotxt.vim
View
8 syntax/todotxt.vim
@@ -171,10 +171,10 @@ if version >= 508 || !exists("did_conf_syntax_inits")
HiLink todoUline CursorLine
HiLink todoVerb Type
- syn region todotxtPriA matchgroup=todotxtPriA start=/^\s*\((A)\)\|[*!]\+A / end=/$/ contains=ALL
- syn region todotxtPriB matchgroup=todotxtPriB start=/^\s*\((B)\)\|[*!]\+B / end=/$/ contains=ALL
- syn region todotxtPriC matchgroup=todotxtPriC start=/^\s*\((C)\)\|[*!]\+C / end=/$/ contains=ALL
- syn region todotxtPriD matchgroup=todotxtPriD start=/^\s*\((D)\)\|[*!]\+D / end=/$/ contains=ALL
+ syn region todotxtPriA matchgroup=todotxtPriA start=/^\s*\((A)\)\|[*!]\+A/ end=/ / contains=ALL
+ syn region todotxtPriB matchgroup=todotxtPriB start=/^\s*\((B)\)\|[*!]\+B/ end=/ / contains=ALL
+ syn region todotxtPriC matchgroup=todotxtPriC start=/^\s*\((C)\)\|[*!]\+C/ end=/ / contains=ALL
+ syn region todotxtPriD matchgroup=todotxtPriD start=/^\s*\((D)\)\|[*!]\+D/ end=/ / contains=ALL
hi todotxtPriA ctermfg=DarkYellow guifg=DarkYellow
hi todotxtPriB ctermfg=Green guifg=Green
hi todotxtPriC ctermfg=Blue guifg=Blue

0 comments on commit 9f3f85d

Please sign in to comment.
Something went wrong with that request. Please try again.