Skip to content
Snippets Groups Projects
Commit 7ee34617 authored by Henning Glawe's avatar Henning Glawe
Browse files

fix highlighting if unmatched, but matcher is flagged does_nothing

parent f7cb16cd
Branches
Tags
No related merge requests found
......@@ -56,10 +56,11 @@ class Annotator(object):
if minfo['coverageIgnore']:
highlighted = self.matchHighlighter.highlight_minfo(
minfo, linecolor=ANSI.FG_BLUE)
elif minfo['matcher_does_nothing']:
elif minfo['match']:
if minfo['matcher_does_nothing']:
highlighted = self.matchHighlighter.highlight_minfo(
minfo, linecolor=ANSI.FG_MAGENTA)
elif minfo['match']:
else:
highlighted = self.matchHighlighter.highlight_minfo(minfo)
else:
highlighted = minfo['fInLine']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment