cp.nvim/after/syntax/cpoutput.vim
2025-09-11 23:52:32 -05:00

17 lines
No EOL
567 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 = "cpoutput"