Skip to content
This repository
Browse code

Minor fix

  • Loading branch information...
commit d9179d3a781bde94925d40da74ab4e43d234d1f4 1 parent 6258adc
Alexandr Ruchkin mvoidex authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  autocomplete.py
2  autocomplete.py
@@ -439,7 +439,7 @@ def run(self, edit, filename = None, module_name = None, decl = None):
439 439 if current_file_name in files:
440 440 cur_info = files[current_file_name]
441 441
442   - if not module_word:
  442 + if not module_word or module_word == cur_info.name:
443 443 # this module declaration
444 444 candidates.extend([m.declarations[ident] for m in modules_dict if symbols.is_this_module(cur_info, m) and ident in m.declarations])
445 445 if not candidates:

0 comments on commit d9179d3

Please sign in to comment.
Something went wrong with that request. Please try again.