removed a needless function

This commit is contained in:
David Halter
2012-10-13 02:31:48 +02:00
parent 18613fe325
commit 8fd1e6d142
2 changed files with 1 additions and 8 deletions

View File

@@ -28,12 +28,6 @@ endfunction
function jedi#show_func_def()
python jedi_vim.show_func_def(jedi_vim.get_script().get_in_function_call())
return ''
endfunction
function jedi#clear_func_def()
python jedi_vim.clear_func_def()
endfunction
@@ -168,6 +162,6 @@ function! jedi#do_popup_on_dot()
endfunc
function! jedi#configure_function_definition()
autocmd InsertLeave <buffer> call jedi#clear_func_def()
autocmd InsertLeave <buffer> python jedi_vim.clear_func_def()
autocmd CursorMovedI <buffer> call jedi#show_func_def()
endfunction

View File

@@ -217,7 +217,6 @@ def show_func_def(call_def, completion_lines=0):
def rename():
""" A vim function, can only be used from there """
global temp_rename
if not int(vim.eval('a:0')):
temp_rename = goto(is_related_name=True, no_output=True)