forked from VimPlug/jedi-vim
Merge pull request #342 from wilywampa/master
Escape quotes in command line call signatures
This commit is contained in:
@@ -331,7 +331,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)
|
text = ', '.join(params).replace('"', '\\"')
|
||||||
|
|
||||||
# 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