specky/syntax/specrun.vim
branchvim-stuff
changeset 21 cd1f3381c1ed
parent 19 763cef799c74
--- a/specky/syntax/specrun.vim	Sat Dec 18 23:38:55 2010 -0800
+++ b/specky/syntax/specrun.vim	Fri Dec 24 20:01:10 2010 -0800
@@ -27,7 +27,9 @@
 syntax keyword specFailedKeyword Failed
 
 " Failure details
-syntax region specFailedDetails start="^FAILURE - #\d\+)" end="^$" fold contains=specCallout
+syntax region specFailedDetails start="^FAILURE - #\d\+)" end="^$" fold contains=specCallout,specErrorLine
+syntax match specErrorLine /^  >>/
+
 
 " Boxes
 syntax match specBox /^\(\s\+\)\?\(+[+-]\+\||.*|\)$/ contains=specFailedKeyword,specDurationKeyword,specPendingKeyword,specPassedKeyword,specBoxContent
@@ -51,6 +53,7 @@
 highlight def link specBox LineNr
 highlight def link specBoxContent Constant
 highlight def link specBoxLine LineNr
+highlight def link specErrorLine ErrorMsg
 
 let b:current_syntax = "specrun"