Skip to content
Discussion options

You must be logged in to vote

This looks like you are using completion engine and this is a result of an accepting snippet completion candidate from LSP. This can happen if completion engine has "autoselect" feature - then pressing ( might "confirm" the selection which starts snippet session. Do you use completion engine and (if yes) which one?

I indeed see this with fmt.Printf() + gopls and 'mini.completion'. Here is the behavior:

mini-snippets-in-lsp.mp4

The first time there is no snippet session because completion candidate is not explicitly chosen (as is with default 'mini.completion' setup) and autopair comes from 'mini.pairs' module. The second time it is explicitly chosen, so pressing ( leads to confir…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@0x1B56B
Comment options

Answer selected by 0x1B56B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.snippets
2 participants