17 lines
No EOL
561 B
VimL
17 lines
No EOL
561 B
VimL
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
syntax match cpOutputCode /^\[code\]: .*/
|
|
syntax match cpOutputTime /^\[time\]: .*/
|
|
syntax match cpOutputDebug /^\[debug\]: .*/
|
|
syntax match cpOutputMatchesTrue /^\[matches\]: true$/
|
|
syntax match cpOutputMatchesFalse /^\[matches\]: false$/
|
|
|
|
highlight default link cpOutputCode DiagnosticInfo
|
|
highlight default link cpOutputTime Comment
|
|
highlight default link cpOutputDebug Comment
|
|
highlight default link cpOutputMatchesTrue DiffAdd
|
|
highlight default link cpOutputMatchesFalse DiffDelete
|
|
|
|
let b:current_syntax = "cp" |