use CursorMovedI to check for executions as discussed in #3

This commit is contained in:
David Halter committed 2012-09-30 22:59:41 +02:00
1 parent f62067b463
commit 1c29cd6d96
2 files changed
+3 -8

No files matched your search

+2 -7
View File
@@ -61,7 +61,7 @@ endfunction
" func_def
" ------------------------------------------------------------------------
function jedi#show_func_def()
python << PYTHONEOF
python << PYTHONEOF
if 1:
try:
show_func_def(get_script().get_in_function_call())
@@ -321,10 +321,5 @@ endfunc
function! jedi#configure_function_definition()
autocmd InsertLeave <buffer> call jedi#clear_func_def()
" , and () mappings
inoremap <buffer> ( (<C-R>=jedi#show_func_def()<CR>
inoremap <buffer> ) )<C-R>=jedi#show_func_def()<CR>
inoremap <buffer> , ,<C-R>=jedi#show_func_def()<CR>
inoremap <buffer> <BS> <BS><C-R>=jedi#show_func_def()<CR>
autocmd CursorMovedI <buffer> call jedi#show_func_def()
endfunction
+1 -1
Submodule jedi updated: ff84e4670b...1009a0b376.