Closed zakutin closed 1 year ago
You forgot to fill out the form when creating the issue. We don't have enough information to debug your issue. Since you have ignored it, I'm closing this issue, because the form is there for a reason. It saves us a lot of time and questions.
We are happy to reopen this issue if you add the necessary debug information (just click the New Issue Button
and you'll find it there).
@davidhalter, updated.
Just for record, the same happens also in vim 8.2 (see details of JediDebugInfo here)
I also noticed the following, the Settings section in JediDebugInfo looks different:
for command vim test.py
g:jedi#popup_on_dot = 0 (default: 1)
g:jedi#use_tabs_not_buffers = 1 (default: 0)
g:jedi#show_call_signatures = '2' (default: 1)
omnifunc=jedi#completions
Last set from ~/.vim/plugged/jedi-vim/autoload/jedi.vim line 723
completeopt=menuone,longest,popup
Last set from ~/.vim/plugged/jedi-vim/plugin/jedi.vim line 38
and for vim .
g:jedi#popup_on_dot = 0 (default: 1)
g:jedi#use_tabs_not_buffers = 1 (default: 0)
g:jedi#show_call_signatures = '2' (default: 1)
omnifunc=
completeopt=menuone,longest,popup
Last set from ~/.vim/plugged/jedi-vim/plugin/jedi.vim line 38
That's kind of interesting, but most people tend to open a Python file before they start the debug command. I'll definitely try to remember this one though.
Will look at the actual issue later. Thanks for updating.
This is probably related to the lazy initialization of jedi-vim with jedi#auto_vim_configuration = 1
. I feel like you should probably disable that for your use case and set the attributes yourself.
At the same time I like the lazy initialization in general and probably won't change it, so I'm closing. jedi#auto_vim_configuration
has always been a weird setting for people that are more proficient around VIM configs.
Thanks! The option let g:jedi#auto_vim_configuration = 0
made it.
Issue
When setting
autocmd FileType python setlocal completeopt-=preview
is set and vim is launched in netrw mode, a python file opened in a new tab will show the docstring window.Steps to reproduce
autocmd FileType python setlocal completeopt-=preview
in.vimrc
to disable docstringvim .
to enter netrw directory listingExpected behavior
The docstring window shall not be visible.
Output of “:verbose JediDebugInfo”
:scriptnames
``` 1: /etc/vimrc 2: /usr/share/vim/vim90/syntax/syntax.vim 3: /usr/share/vim/vim90/syntax/synload.vim 4: /usr/share/vim/vim90/syntax/syncolor.vim 5: /usr/share/vim/vim90/colors/lists/default.vim 6: /usr/share/vim/vim90/filetype.vim 7: /usr/share/vim/vimfiles/ftdetect/stp.vim 8: /usr/share/vim/vim90/syntax/python.vim 9: /usr/share/vim/vim90/ftplugin.vim 10: ~/.vimrc 11: ~/.vim/autoload/plug.vim 12: /usr/share/vim/vim90/ftoff.vim 13: ~/.vim/plugged/vim-polyglot/filetype.vim 14: ~/.vim/plugged/vim-polyglot/autoload/polyglot/init.vim 15: ~/.vim/plugged/vim-polyglot/ftdetect/polyglot.vim 16: /usr/share/vim/vim90/indent.vim 17: /usr/share/vim/vim90/syntax/nosyntax.vim 18: ~/.vim/plugged/vim-polyglot/syntax/python.vim 19: ~/.vim/plugged/jedi-vim/after/syntax/python.vim 20: ~/.vim/plugged/jedi-vim/autoload/jedi.vim 21: ~/.vim/plugged/onedark.vim/colors/onedark.vim 22: ~/.vim/plugged/onedark.vim/autoload/onedark.vim 23: ~/.vim/plugged/lightline.vim/plugin/lightline.vim 24: ~/.vim/plugged/jedi-vim/plugin/jedi.vim 25: ~/.vim/plugged/vim-polyglot/plugin/polyglot.vim 26: /usr/share/vim/vim90/macros/matchit.vim 27: /usr/share/vim/vim90/pack/dist/opt/matchit/plugin/matchit.vim 28: /usr/share/vim/vim90/plugin/getscriptPlugin.vim 29: /usr/share/vim/vim90/plugin/gzip.vim 30: /usr/share/vim/vim90/plugin/logiPat.vim 31: /usr/share/vim/vim90/plugin/manpager.vim 32: /usr/share/vim/vim90/plugin/matchparen.vim 33: /usr/share/vim/vim90/plugin/netrwPlugin.vim 34: /usr/share/vim/vim90/plugin/rrhelper.vim 35: /usr/share/vim/vim90/plugin/spellfile.vim 36: /usr/share/vim/vim90/plugin/tarPlugin.vim 37: /usr/share/vim/vim90/plugin/tohtml.vim 38: /usr/share/vim/vim90/plugin/vimballPlugin.vim 39: /usr/share/vim/vim90/plugin/zipPlugin.vim 40: ~/.vim/plugged/jedi-vim/ftplugin/python/jedi.vim 41: /usr/share/vim/vim90/ftplugin/python.vim 42: ~/.vim/plugged/jedi-vim/after/ftplugin/python/jedi.vim 43: ~/.vim/plugged/vim-polyglot/indent/python.vim 44: /usr/share/vim/vim90/indent/python.vim 45: ~/.vim/plugged/lightline.vim/autoload/lightline.vim 46: ~/.vim/plugged/lightline.vim/autoload/lightline/tab.vim 47: ~/.vim/plugged/lightline.vim/autoload/lightline/colorscheme/one.vim 48: ~/.vim/plugged/lightline.vim/autoload/lightline/colorscheme.vim ```