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 15773a0 commit 67e5046Copy full SHA for 67e5046
ftplugin/python/vim_ipython.py
@@ -355,7 +355,7 @@ def get_doc_msg(msg_id):
355
text = content['data']['text/plain']
356
for line in text.split('\n'):
357
b.append(strip_color_escapes(line).rstrip())
358
- if 'signature:' in b[-1].lower():
+ if 'signature: ' in b[-1].lower() and b[-1].endswith(')'):
359
left, _, right = b[-1].partition(': ')
360
b[-1] = '{0}: `{1}`'.format(left, right)
361
return b
0 commit comments