From 8fd1e6d142d19b27d39e90d2e316f986f53b80a1 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 13 Oct 2012 02:31:48 +0200 Subject: [PATCH] removed a needless function --- autoload/jedi.vim | 8 +------- plugin/jedi_vim.py | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/autoload/jedi.vim b/autoload/jedi.vim index 83efaa2..0137d16 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -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 call jedi#clear_func_def() + autocmd InsertLeave python jedi_vim.clear_func_def() autocmd CursorMovedI call jedi#show_func_def() endfunction diff --git a/plugin/jedi_vim.py b/plugin/jedi_vim.py index d4c28b2..029af88 100644 --- a/plugin/jedi_vim.py +++ b/plugin/jedi_vim.py @@ -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)