Pastebin

Paste #10080: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

syn match todoString /"[^"]\+"/
hi link todoString String

syn match todoComment /#.*/
hi link todoComment Comment

syn match todoCategory /^@.\+/
"hi todoCategory ctermfg=red guifg=red
hi link todoCategory String

syn match todoDate /^\d\{4}-\d\{2}-\d\{2}/
hi link todoDate Identifier


" URLs start with a known protocol or www,web,w3.
syn match mailURL contains=@NoSpell `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' 	<>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' 	<>"]+)[a-z0-9/]`
syn match mailEmail contains=@NoSpell "\v[_=a-z\./+0-9-]+\@[a-z0-9._-]+\a{2}"
hi def link mailEmail		Special
hi def link mailURL		String


syn match Indent1 "^\s\{4}\S.*$"
syn match Indent2 "^\s\{8}\S.*$"
syn match Indent3 "^\s\{12}\S.*$"

hi link Ident1 Identifier
hi link Ident2 Statement
hi link Ident3 Preproc

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.