@@ -32,15 +32,19 @@ syn match ostFileDivider "^__$" conceal
32
32
33
33
syn match ostStateNotRun " ^|.*" contains =ostStatePrefix,ostTestNamespace
34
34
syn match ostStateRunning " ^-.*" contains =ostStatePrefix,ostTestNamespace,ostRunningSuffix
35
- syn match ostStatePassed " ^\* .*" contains =ostStatePrefix,ostTestNamespace
36
- syn match ostStateFailed " ^!.*" contains =ostStatePrefix,ostTestNamespace
35
+ syn match ostStatePassed " ^\* .*" contains =ostStatePrefix,ostTestNamespace,ostStatePassedGlyph,ostCompletePrefixDivider
36
+ syn match ostStateFailed " ^!.*" contains =ostStatePrefix,ostTestNamespace,ostStateFailedGlyph,ostCompletePrefixDivider
37
37
syn match ostStatePrefix " ^[|\* !-]" conceal contained
38
38
syn match ostTestNamespace " \% (\w\+\.\) *\z e\w\+ " conceal contained
39
39
40
40
syn match ostRunningSuffix " -- .*" contained contains =ostRunningSpinner,ostRunningSuffixDivider
41
41
syn match ostRunningSuffixDivider " \z s--" conceal contained
42
42
syn match ostRunningSpinner " -- \z s.*" contained
43
43
44
+ syn match ostStatePassedGlyph " \% (|| \)\@ <=.\{ -}\z e || " contained
45
+ syn match ostStateFailedGlyph " \% (|| \)\@ <=.\{ -}\z e || " contained
46
+ syn match ostCompletePrefixDivider " || " conceal contained
47
+
44
48
syn region ostFailure start =" ^>" end =" ^[^>]" me =s - 1 contains =ostFailurePrefix,ostStackLoc,ostStackNoLoc fold
45
49
syn match ostFailurePrefix " ^>" conceal contained
46
50
syn region ostStackLoc start =" __ " hs =e + 1 end =" __ " he =e - 1 contains =ostStackFile,ostStackDelimiter,ostStackNamespace contained keepend
@@ -66,7 +70,9 @@ hi def link ostStateNotRun Comment
66
70
hi def link ostStateRunning Identifier
67
71
hi def link ostRunningSpinner Normal
68
72
hi def link ostStatePassed Title
73
+ hi def link ostStatePassedGlyph Title
69
74
hi def link ostStateFailed WarningMsg
75
+ hi def link ostStateFailedGlyph WarningMsg
70
76
hi def link ostStackLoc Identifier
71
77
hi def link ostOutput Comment
72
78
@@ -78,6 +84,7 @@ hi def link ostFileDivider NonText
78
84
hi def link ostStatePrefix NonText
79
85
hi def link ostFailurePrefix NonText
80
86
hi def link ostRunningSuffixDivider NonText
87
+ hi def link ostCompletePrefixDivider NonText
81
88
hi def link ostStackDelimiter NonText
82
89
hi def link ostStackFileDelimiter NonText
83
90
hi def link ostStackNoLocDelimiter NonText
0 commit comments