mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-18 03:51:35 +08:00
Add reason for clear_call_signatures logic
This commit is contained in:
1 parent
c5c69f0ee1
commit
e3f4474dd7
1 file changed
+2
@@ -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