diff --git a/nimlime_core/commands/nimcheck.py b/nimlime_core/commands/nimcheck.py index 964769f..920c60b 100644 --- a/nimlime_core/commands/nimcheck.py +++ b/nimlime_core/commands/nimcheck.py @@ -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