Merge pull request #83 from andviro/master

fix for #81
This commit is contained in:
David Halter committed 2013-01-25 01:37:24 -08:00
commit fdcc192def
3 files changed
+13 -5

No files matched your search

+2 -2
View File
@@ -101,7 +101,7 @@ function! jedi#new_buffer(path)
set filetype=python
endfunction
function! s:add_goto_window()
function! jedi#add_goto_window()
set lazyredraw
cclose
execute 'belowright copen 3'
@@ -120,7 +120,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