Skip to content

Commit 3711b2a

Browse files
Commented weird defaults in example configuration.
1 parent 533b020 commit 3711b2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/ptpython_config/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ def configure(repl):
9595
repl.use_code_colorscheme('pastie')
9696

9797
# Install custom colorscheme named 'my-colorscheme' and use it.
98+
"""
9899
repl.install_ui_colorscheme('my-colorscheme', _custom_ui_colorscheme)
99100
repl.use_ui_colorscheme('my-colorscheme')
101+
"""
100102

101103
# Add custom key binding for PDB.
102104
@repl.add_key_binding(Keys.ControlB)
@@ -112,6 +114,7 @@ def _(event):
112114
if b.accept_action.is_returnable:
113115
b.accept_action.validate_and_handle(event.cli, b)
114116

117+
"""
115118
# Custom key binding for some simple autocorrection while typing.
116119
corrections = {
117120
'impotr': 'import',
@@ -130,6 +133,7 @@ def _(event):
130133
b.insert_text(corrections[w])
131134
132135
b.insert_text(' ')
136+
"""
133137

134138

135139
# Custom colorscheme for the UI. See `ptpython/layout.py` and

0 commit comments

Comments
 (0)