Skip to content

Commit

Permalink
clear/show callsigs on BufWritePre/BufWritePost
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 7, 2017
1 parent a9ec7e2 commit 346d7bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autoload/jedi.vim
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,11 @@ function! jedi#configure_call_signatures(...) abort
autocmd InsertLeave <buffer> call jedi#clear_call_signatures()
endif

if g:jedi#show_call_signatures_modes =~# 'n'
autocmd BufWritePre <buffer> call jedi#clear_call_signatures()
autocmd BufWritePost <buffer> call jedi#show_call_signatures()
endif

if g:jedi#show_call_signatures_delay > 0
if has('timers')
if g:jedi#show_call_signatures_modes =~# 'n'
Expand Down

0 comments on commit 346d7bf

Please sign in to comment.