mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-02-18 05:14:14 +08:00
fixed find related names
This commit is contained in:
@@ -98,7 +98,7 @@ function! jedi#new_buffer(path)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:add_goto_window()
|
||||
function! jedi#add_goto_window()
|
||||
set lazyredraw
|
||||
cclose
|
||||
execute 'belowright copen 3'
|
||||
@@ -117,7 +117,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
|
||||
|
||||
Reference in New Issue
Block a user