Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Nov 3, 2018
1 parent 210cdb3 commit 4dca553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nimlime_core/commands/nimcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def highlight_and_list_messages(self, messages, window, view):
warn_region_list = []

for file_name, row, column, kind, message, all_msg in messages:
# TODO: more robust in case multiple names are allowed, PENDING https://github.com/nim-lang/Nim/pull/8614
file_name = os.path.basename(file_name)
if file_name.lower() != view_name.lower():
continue

Expand Down

0 comments on commit 4dca553

Please sign in to comment.