mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
Fix a refactoring error, fixes #1041
This commit is contained in:
@@ -506,7 +506,7 @@ function! jedi#goto_window_on_enter() abort
|
|||||||
if l:data.bufnr
|
if l:data.bufnr
|
||||||
" close goto_window buffer
|
" close goto_window buffer
|
||||||
normal! ZQ
|
normal! ZQ
|
||||||
python3 jedi_vim.new_buffer(vim.eval('bufname(l:data.bufnr)'))
|
python3 jedi_vim.set_buffer(vim.eval('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