From c3bea09d745e399be74dcf1ed5718d5e0e17b2c0 Mon Sep 17 00:00:00 2001 From: David Halter Date: Fri, 23 Aug 2013 11:24:10 +0430 Subject: [PATCH] rename methods --- autoload/jedi.vim | 4 ++-- ftplugin/python/jedi.vim | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/autoload/jedi.vim b/autoload/jedi.vim index 4131650..7e52d2c 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -1,12 +1,12 @@ " ------------------------------------------------------------------------ " functions that call python code " ------------------------------------------------------------------------ -function! jedi#goto() +function! jedi#goto_assignments() Python jedi_vim.goto() endfunction -function! jedi#get_definition() +function! jedi#goto_definitions() Python jedi_vim.goto(is_definition=True) endfunction diff --git a/ftplugin/python/jedi.vim b/ftplugin/python/jedi.vim index ff0f221..a6189f0 100644 --- a/ftplugin/python/jedi.vim +++ b/ftplugin/python/jedi.vim @@ -21,10 +21,10 @@ if g:jedi#auto_initialization endif execute "inoremap ".g:jedi#completions_command." " - " goto / get_definition / related_names - execute "noremap ".g:jedi#goto_assignments_command." :call jedi#goto()" - execute "noremap ".g:jedi#goto_definitions_command." :call jedi#get_definition()" - execute "noremap ".g:jedi#usages_command." :call jedi#related_names()" + " goto / get_definition / usages + execute "noremap ".g:jedi#goto_assignments_command." :call jedi#goto_assignments()" + execute "noremap ".g:jedi#goto_definitions_command." :call jedi#goto_definitions()" + execute "noremap ".g:jedi#usages_command." :call jedi#usages()" " rename execute "noremap ".g:jedi#rename_command." :call jedi#rename()" " documentation/pydoc