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

auto: do not create anonymous snippet #3603

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Nov 19, 2023

Do not create an anonymous snippet if there are no placeholders, because there is no point in creating the snippet in that case and doing so breaks Ultisnip navigation when the previous completion had placeholders.

Fixes #3601

Do not create an anonymous snippet if there are no placeholders, because
there is no point in creating the snippet in that case and doing so
breaks Ultisnip navigation when the previous completion had
placeholders.

Fixes fatih#3601
@bhcleek bhcleek merged commit 8b7a4d2 into fatih:master Nov 19, 2023
8 checks passed
@bhcleek bhcleek deleted the auto/ultisnip-nested branch November 19, 2023 19:01
@bhcleek bhcleek added this to the vim-go v1.29 milestone Dec 6, 2023
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.

Using code completion breaks navigation for arguments placeholders
1 participant