From c5c69f0ee100b684d37d6ddef09db9a2228358dc Mon Sep 17 00:00:00 2001 From: Jacob Niehus Date: Sun, 4 Jan 2015 20:55:52 -0700 Subject: [PATCH] Don't clear command line call signatures in completions() --- jedi_vim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jedi_vim.py b/jedi_vim.py index 9868164..8ab9fd1 100644 --- a/jedi_vim.py +++ b/jedi_vim.py @@ -104,7 +104,8 @@ def get_script(source=None, column=None): @catch_and_print_exceptions def completions(): row, column = vim.current.window.cursor - clear_call_signatures() + if vim_eval("g:jedi#show_call_signatures") == '1': + clear_call_signatures() if vim.eval('a:findstart') == '1': count = 0 for char in reversed(vim.current.line[:column]):