From 63029f5ea2c37128e4cbac64875fc04df7de87ad Mon Sep 17 00:00:00 2001 From: David Halter Date: Thu, 22 Aug 2013 11:31:44 +0430 Subject: [PATCH] some function don't need to be in the jedi namespace --- autoload/jedi.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/jedi.vim b/autoload/jedi.vim index df68de0..6850946 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -159,14 +159,14 @@ function! jedi#add_goto_window() execute 'belowright copen '.g:jedi#quickfix_window_height set nolazyredraw if g:jedi#use_tabs_not_buffers == 1 - map :call jedi#goto_window_on_enter() + map :call s:goto_window_on_enter() endif au WinLeave q " automatically leave, if an option is chosen redraw! endfunction -function! jedi#goto_window_on_enter() +function! s:goto_window_on_enter() let l:list = getqflist() let l:data = l:list[line('.') - 1] if l:data.bufnr @@ -180,7 +180,7 @@ function! jedi#goto_window_on_enter() endfunction -function! jedi#syn_stack() +function! s:syn_stack() if !exists("*synstack") return [] endif @@ -189,7 +189,7 @@ endfunc function! jedi#do_popup_on_dot() - let highlight_groups = jedi#syn_stack() + let highlight_groups = s:syn_stack() for a in highlight_groups if a == 'pythonDoctest' return 1