From 57e476c214ab105fa90a0cdb24a65a5f04a56d22 Mon Sep 17 00:00:00 2001 From: Jacob Niehus Date: Sat, 27 Dec 2014 22:14:50 -0600 Subject: [PATCH] Escape quotes in command line call signatures --- jedi_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi_vim.py b/jedi_vim.py index 9868164..ff47ce5 100644 --- a/jedi_vim.py +++ b/jedi_vim.py @@ -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