mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +08:00
removed a needless function
This commit is contained in:
@@ -28,12 +28,6 @@ endfunction
|
|||||||
|
|
||||||
function jedi#show_func_def()
|
function jedi#show_func_def()
|
||||||
python jedi_vim.show_func_def(jedi_vim.get_script().get_in_function_call())
|
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
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
@@ -168,6 +162,6 @@ function! jedi#do_popup_on_dot()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
function! jedi#configure_function_definition()
|
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()
|
autocmd CursorMovedI <buffer> call jedi#show_func_def()
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
@@ -217,7 +217,6 @@ def show_func_def(call_def, completion_lines=0):
|
|||||||
|
|
||||||
|
|
||||||
def rename():
|
def rename():
|
||||||
""" A vim function, can only be used from there """
|
|
||||||
global temp_rename
|
global temp_rename
|
||||||
if not int(vim.eval('a:0')):
|
if not int(vim.eval('a:0')):
|
||||||
temp_rename = goto(is_related_name=True, no_output=True)
|
temp_rename = goto(is_related_name=True, no_output=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user