Skip to content

After accepting and with auto_brackets turned on there is no signature info with gopls #1766

Closed Answered by WhoIsSethDaniel
WhoIsSethDaniel asked this question in Q&A
Discussion options

You must be logged in to vote

So iff:

  • you are using gopls with blink.cmp
  • you are using vim-matchup and have paren matching turned on
  • you want auto brackets
  • you want the function signature to appear after accepting a completion

you need to:

  • block the go filetype for kind resolution by adding go to completion.accept.auto_brackets.kind_resolution.blocked_filetypes (this should force semantic resolution for auto brackets)
  • in gopls turn on semanticTokens
  • in gopls turn off completeFunctionCalls

Replies: 8 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by WhoIsSethDaniel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant