mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-25 04:07:22 +08:00
don't repeat all the things written in the readline all the time
This commit is contained in:
1 parent
2097eca646
commit
878f88b4b9
1 file changed
+2
@@ -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