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

feature: insert 1st item on accept if nothing was selected #118

Closed
Rentib opened this issue Oct 16, 2024 · 2 comments
Closed

feature: insert 1st item on accept if nothing was selected #118

Rentib opened this issue Oct 16, 2024 · 2 comments

Comments

@Rentib
Copy link

Rentib commented Oct 16, 2024

Currently doing accept while none of the completion items is selected just hides blink. I believe it would make more sense to insert 1st completion item in this situation. I know that there is 'preselect', which kind of achieves that, but it doesnt work in neither 'manual' nor 'auto-insert'.

@groig
Copy link

groig commented Oct 16, 2024

A mix between preselect and auto_insert would be great.

@Saghen Saghen closed this as completed in 6394508 Oct 16, 2024
@Rentib
Copy link
Author

Rentib commented Oct 17, 2024

It doesn't work with auto_insert, because accept gets suppressed or something.
Essentially select_and_accept does only select part if nothing is selected.

@Saghen Saghen reopened this Oct 17, 2024
@Saghen Saghen closed this as completed in 65eb336 Oct 18, 2024
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

No branches or pull requests

3 participants