##// END OF EJS Templates
magics only complete from line start if w/o % prefix
vivainio -
Show More
@@ -433,7 +433,9 b' class IPCompleter(Completer):'
433 433 else:
434 434 matches = self.global_matches(text)
435 435 # this is so completion finds magics when automagic is on:
436 if matches == [] and not text.startswith(os.sep):
436 if (matches == [] and
437 not text.startswith(os.sep) and
438 not ' ' in self.lbuf):
437 439 matches = self.attr_matches(self.magic_prefix+text)
438 440 return matches
439 441
General Comments 0
You need to be logged in to leave comments. Login now