zettel.vim (545B)
1 if exists("b:current_syntax") 2 finish 3 endif 4 5 syn match zettelExc '^!' contained 6 syn match zettelBrackl '\[' contained 7 syn match zettelBrackr '\]' contained 8 syn match zettelBrackText '[^\[\]]' contained 9 10 syn match zettelSelected '^!.*$' contains=zettelExc,zettelBracks 11 syn match zettelBracks '\[.*\]' contained contains=zettelBrackl,zettelBrackr,zettelBrackText 12 13 hi zettelPunc guifg=#a1a1d9 14 hi link zettelExc zettelPunc 15 hi link zettelBrackl zettelPunc 16 hi link zettelBrackr zettelPunc 17 hi zettelBrackText guifg=#005f5f 18 19 let b:current_syntax='gph'