davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

Error detected while processing function jedi#goto_window_on_enter #1041

Closed lakenn closed 3 years ago

lakenn commented 3 years ago

Issue

"shows all the usages of a name" works. It shows me the list of usage in a split pane properly but when I try to go to the result containing the usage, i got the below error:

Error detected while processing function jedi#goto_window_on_enter: line 6: Traceback (most recent call last): File "", line 1, in AttributeError: module 'jedi_vim' has no attribute 'new_buffer'

Steps to reproduce

<leader>n on new_hello and search pane show correctly and then try go to the location of the usage

Screenshot 2021-01-30 at 11 35 07 AM

.vimrc

let g:jedi#use_tabs_not_buffers = 1

if i set let g:jedi#use_tabs_not_buffers = 0, then it works

Thanks

davidhalter commented 3 years ago

Thanks for the report.

Next time please include the form that you were prompted to fill. It helps us understand things.