forked from VimPlug/jedi-vim
Add reason for clear_call_signatures logic
This commit is contained in:
@@ -104,6 +104,8 @@ def get_script(source=None, column=None):
|
|||||||
@catch_and_print_exceptions
|
@catch_and_print_exceptions
|
||||||
def completions():
|
def completions():
|
||||||
row, column = vim.current.window.cursor
|
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':
|
if vim_eval("g:jedi#show_call_signatures") == '1':
|
||||||
clear_call_signatures()
|
clear_call_signatures()
|
||||||
if vim.eval('a:findstart') == '1':
|
if vim.eval('a:findstart') == '1':
|
||||||
|
|||||||
Reference in New Issue
Block a user