mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-15 02:31:26 +08:00
Escape quotes in command line call signatures
This commit is contained in:
1 parent
8ce612e3a6
commit
57e476c214
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user