Escape quotes in command line call signatures

This commit is contained in:
Jacob Niehus
2014-12-27 22:14:50 -06:00
parent 8ce612e3a6
commit 57e476c214

View File

@@ -331,7 +331,7 @@ def cmdline_call_signatures(signatures):
params = ['(' + ', '.join(p) + ')' for p in params]
else:
params = get_params(signatures[0])
text = ', '.join(params)
text = ', '.join(params).replace('"', '\\"')
# Allow 12 characters for ruler/showcmd - setting noruler/noshowcmd
# here causes incorrect undo history