davidhalter / jedi-vim

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

How to disable the docstring viewer on completion ? #1091

Closed hl037 closed 1 year ago

hl037 commented 1 year ago

During the completion (with the popup menu) a split is created conteining the docstring of the function. I think it's a recent addition, but I really disturb (piss) me. I have not see any configuration to disable it in the documentation.

Is there one ?

Could you add one if there is not yet ?

Thanks again for this wonderful plugin anyway !

davidhalter commented 1 year ago

I think you can just remove preview from completeopt.

hl037 commented 1 year ago

Thank you very much !

Maybe add documentation on this point ?

davidhalter commented 1 year ago

It's already part of the README: https://github.com/davidhalter/jedi-vim#i-dont-want-the-docstring-window-to-popup-during-completion

zakutin commented 1 year ago

@davidhalter, is there any hotkey to call/toggle the docstring viewer when necessary?

davidhalter commented 1 year ago

No.