Add reason for clear_call_signatures logic

This commit is contained in:
Jacob Niehus
2015-01-05 19:02:51 -07:00
parent c5c69f0ee1
commit e3f4474dd7

View File

@@ -104,6 +104,8 @@ def get_script(source=None, column=None):
@catch_and_print_exceptions
def completions():
row, column = vim.current.window.cursor
# Clear call signatures in the buffer so they aren't seen by the completer.
# Call signatures in the command line can stay.
if vim_eval("g:jedi#show_call_signatures") == '1':
clear_call_signatures()
if vim.eval('a:findstart') == '1':