new_buffer instead of tabnew

This commit is contained in:
David Halter
2012-12-21 09:52:26 +01:00
parent 394aeffa61
commit 6a70c84cc0

View File

@@ -138,7 +138,7 @@ function! jedi#goto_window_on_enter()
if l:data.bufnr if l:data.bufnr
" close goto_window buffer " close goto_window buffer
normal ZQ normal ZQ
python jedi_vim.tabnew(vim.eval("bufname(l:data.bufnr)")) jedi#new_buffer(bufname(l:data.bufnr))
call cursor(l:data.lnum, l:data.col) call cursor(l:data.lnum, l:data.col)
else else
echohl WarningMsg | echo "Builtin module cannot be opened." | echohl None echohl WarningMsg | echo "Builtin module cannot be opened." | echohl None