Don't clear command line call signatures in completions()

This commit is contained in:
Jacob Niehus
2015-01-04 20:55:52 -07:00
parent 8ce612e3a6
commit c5c69f0ee1

View File

@@ -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]):