mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
Fix parameters missing from command line call signatures
Parameters (or ellipsis) should show up in call signatures even when the index of the current argument is unknown. Closes https://github.com/davidhalter/jedi-vim/pull/499.
This commit is contained in:
committed by
Daniel Hahler
parent
b3e91e8de2
commit
0c2831d9a6
@@ -75,6 +75,13 @@ describe 'signatures'
|
||||
doautocmd InsertLeave
|
||||
redir END
|
||||
Expect msg == "\n"
|
||||
|
||||
normal Sdef foo(a, b): pass
|
||||
normal ofoo(a, b, c,
|
||||
redir => msg
|
||||
Python jedi_vim.show_call_signatures()
|
||||
redir END
|
||||
Expect msg == "\nfoo(a, b)"
|
||||
end
|
||||
|
||||
it 'command line truncation'
|
||||
|
||||
Reference in New Issue
Block a user