Skip to content

Commit

Permalink
fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
elbosso committed Aug 18, 2019
1 parent 10dbe1a commit a984172
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions shellcheck/outputpanel.py
Expand Up @@ -90,9 +90,13 @@ def update(self, report_json):
item["line"], item["column"], item["code"],
urllib.request.unquote(item["message"]))
color = "white"
if item["level"] == 'warning':
if item["level"] == 'info':
color = "lightgray"
elif item["level"] == 'style':
color = "lightblue"
elif item["level"] == 'warning':
color = "yellow"
if item["level"] == 'error':
elif item["level"] == 'error':
color = "red"
self._tree_view.get_model().append([
item["line"], item["column"],
Expand Down

0 comments on commit a984172

Please sign in to comment.