mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +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
|
||||
" close goto_window buffer
|
||||
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)
|
||||
else
|
||||
echohl WarningMsg | echo 'Builtin module cannot be opened.' | echohl None
|
||||
|
||||
Reference in New Issue
Block a user