Merge pull request #479 from blueyed/fix-cached-signature-call

Handle parenthesis with show_call_signatures' cache
This commit is contained in:
Dave Halter
2015-10-18 21:45:18 +02:00
2 changed files with 23 additions and 9 deletions

View File

@@ -17,10 +17,18 @@ describe 'signatures'
Expect getline(1) == '=`=jedi=0, =`= (*_*number*_*) =`=jedi=`='
doautocmd InsertLeave
doautocmd InsertLeave
Expect getline(1) == ''
end
it 'simple after CursorHoldI with only parenthesis'
noautocmd normal o
doautocmd CursorHoldI
noautocmd normal iabs(
doautocmd CursorHoldI
Expect getline(1) == '=`=jedi=0, =`= (*_*number*_*) =`=jedi=`='
end
it 'no signature'
normal ostr
Python jedi_vim.show_call_signatures()