vim-NOTES

special syntax highlighting for TODO and NOTES
git clone https://git.ce9e.org/vim-NOTES.git

commit
436c8bc7e0a18510ae478e32827afbadd475a902
parent
0eb4805edc924280b2da1e18846fabcc1d74ada3
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-03-28 07:51
add spcial list item syntax

Diffstat

M syntax/NOTES.vim 10 ++++++++++

1 files changed, 10 insertions, 0 deletions


diff --git a/syntax/NOTES.vim b/syntax/NOTES.vim

@@ -9,3 +9,13 @@ endif
    9     9 runtime! syntax/markdown.vim
   10    10 
   11    11 let b:current_syntax = 'NOTES'
   -1    12 
   -1    13 " custom list items
   -1    14 syn match notesQuestionListItem "^\(\t\|    \)*?\(\t\|   \).*"
   -1    15 hi notesQuestionListItem ctermfg=14
   -1    16 syn match notesDoneListItem "^\(\t\|    \)*X\(\t\|   \).*"
   -1    17 hi notesDoneListItem ctermfg=4
   -1    18 syn match notesNoListItem "^\(\t\|    \)*N\(\t\|   \).*"
   -1    19 hi notesNoListItem ctermfg=5
   -1    20 syn match notesWarningListItem "^\(\t\|    \)*!\(\t\|   \).*"
   -1    21 hi notesWarningListItem ctermfg=11