mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 19:44:52 +08:00
Escape newlines in call signatures
This commit is contained in:
@@ -334,7 +334,7 @@ def cmdline_call_signatures(signatures):
|
|||||||
params = ['(' + ', '.join(p) + ')' for p in params]
|
params = ['(' + ', '.join(p) + ')' for p in params]
|
||||||
else:
|
else:
|
||||||
params = get_params(signatures[0])
|
params = get_params(signatures[0])
|
||||||
text = ', '.join(params).replace('"', '\\"')
|
text = ', '.join(params).replace('"', '\\"').replace(r'\n', r'\\n')
|
||||||
|
|
||||||
# Allow 12 characters for ruler/showcmd - setting noruler/noshowcmd
|
# Allow 12 characters for ruler/showcmd - setting noruler/noshowcmd
|
||||||
# here causes incorrect undo history
|
# here causes incorrect undo history
|
||||||
|
|||||||
Reference in New Issue
Block a user