Skip to content
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

implement new behavior for autocompletion menu, toggle option to require keypress for showing suggestions. #98

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

Jezda1337
Copy link
Contributor

@Jezda1337 Jezda1337 commented Oct 11, 2024

This introduces a new auto_show config for the autocompletion menu. It's set to true by default, so nothing has changed. If we set it to false, then we need to press default or user-set keymaps to show the menu.

@neochrome
Copy link

This sounds like an awesome addition, which I think would solve #52

@Jezda1337
Copy link
Contributor Author

Based on the #52 code example, the plugin will be partially disabled for the specific file type that the user configures; the PR is more general, it is meant to disable the whole autocompletion window and trigger it on default or user configure keybindings

@neochrome
Copy link

For my use-case I think this PR would be even better. I don't really want to have the behavior different on a per file type basis, rather turn of autocompletion at all since I hate things that pop up automagically while I'm typing. I want to control the behavior using a keymap at all times :) But that's me :)

@Saghen Saghen merged commit 82e03b1 into Saghen:main Oct 15, 2024
@Saghen
Copy link
Owner

Saghen commented Oct 15, 2024

Thank you!

@Jezda1337
Copy link
Contributor Author

Sorry for the messy code :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants