mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-10 04:21:52 +08:00
new_buffer instead of tabnew
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user