Skip to content

Toggle auto_show documentation with keymap #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Silzinc opened this issue Dec 3, 2024 · 1 comment
Closed

Toggle auto_show documentation with keymap #430

Silzinc opened this issue Dec 3, 2024 · 1 comment
Labels
bug Something isn't working windows Module which displays UI

Comments

@Silzinc
Copy link

Silzinc commented Dec 3, 2024

Feature Description

Hello!
I find the automatic documentation popup when I select a completion option a bit too overwhelming, so I disabled auto_show by default and configured a keymap to commands "show_documentation" and "hide_documentation".

However, when the documentation is opened and if I change the selection, it does not update (I believe that's also the role of auto_show). Is it possible to make this available ? Or perhaps is there some recipe I do not know to have it ?

cmp-doc.mp4

(Sorry for the format of the video)

@Silzinc Silzinc added the feature New feature or request label Dec 3, 2024
@Saghen Saghen closed this as completed in 8c1fdc9 Dec 3, 2024
@Saghen Saghen added bug Something isn't working windows Module which displays UI and removed feature New feature or request labels Dec 3, 2024
@Silzinc
Copy link
Author

Silzinc commented Dec 3, 2024

Thank you for the fast reaction! Sorry to reopen this but unfortunately, the opposite effect is now happening : if I close the docs, it reopens when I change selection. I would expect it not to open, but it seems auto_show is set to true once and for all. I'm sorry to bother if this is intended.

@Saghen Saghen reopened this Dec 3, 2024
@Saghen Saghen closed this as completed in 624676e Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows Module which displays UI
Projects
None yet
Development

No branches or pull requests

2 participants