mirror of
https://github.com/davidhalter/jedi.git
synced 2026-09-04 04:46:56 +08:00
don't repeat all the things written in the readline all the time
This commit is contained in:
@@ -85,5 +85,7 @@ def setup_readline(namespace_module=__main__):
|
|||||||
# because it's easier to hit the tab just once
|
# because it's easier to hit the tab just once
|
||||||
readline.parse_and_bind("set show-all-if-unmodified")
|
readline.parse_and_bind("set show-all-if-unmodified")
|
||||||
readline.parse_and_bind("set show-all-if-ambiguous on")
|
readline.parse_and_bind("set show-all-if-ambiguous on")
|
||||||
|
# don't repeat all the things written in the readline all the time
|
||||||
|
readline.parse_and_bind("set completion-prefix-display-length 2")
|
||||||
# No delimiters, Jedi handles that.
|
# No delimiters, Jedi handles that.
|
||||||
readline.set_completer_delims('')
|
readline.set_completer_delims('')
|
||||||
|
|||||||
Reference in New Issue
Block a user