We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd6f5e commit 26b8ad2Copy full SHA for 26b8ad2
ftplugin/python/ipy.vim
@@ -204,7 +204,11 @@ def update_subchannel_msgs(debug=False):
204
s = "Out[%d]: " % m['content']['execution_count']
205
s += m['content']['data']['text/plain']
206
if m['msg_type'] == 'pyin':
207
- s = "\nIn []: "
+ # TODO: the next line allows us to resend a line to ipython if
208
+ # %doctest_mode is on. In the future, IPython will send the
209
+ # execution_count on subchannel, so this will need to be updated
210
+ # once that happens
211
+ s = "\nIn [00]: "
212
s += m['content']['code'].strip()
213
if m['msg_type'] == 'pyerr':
214
c = m['content']
0 commit comments