fixed find related names

This commit is contained in:
Andrew Rodionoff
2013-01-25 12:04:17 +04:00
parent f2354d3700
commit 70f4c16ae3
3 changed files with 43 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ function! jedi#new_buffer(path)
endif
endfunction
function! s:add_goto_window()
function! jedi#add_goto_window()
set lazyredraw
cclose
execute 'belowright copen 3'
@@ -117,7 +117,7 @@ function! jedi#goto_window_on_enter()
if l:data.bufnr
" close goto_window buffer
normal ZQ
jedi#new_buffer(bufname(l:data.bufnr))
call jedi#new_buffer(bufname(l:data.bufnr))
call cursor(l:data.lnum, l:data.col)
else
echohl WarningMsg | echo "Builtin module cannot be opened." | echohl None