complete function without filling params snippet #1172
Answered
by
Shougo
tydra-wang
asked this question in
Q&A
-
How can I complete function without filling params snippet? I want: fmt.Printf(|) I got: fmt.Printf(|format string, a ...any) |
Beta Was this translation helpful? Give feedback.
Answered by
Shougo
Sep 2, 2022
Replies: 2 comments 1 reply
-
Please see this. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tydra-wang
-
Finally I find out that nvim_lsp.gopls.setup {
-- ...
settings = {
gopls = {
experimentalPostfixCompletions = true,
analyses = {
unusedparams = true,
-- shadow = true,
},
staticcheck = true,
},
},
-- init_options = {
-- usePlaceholders = true,
-- }
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please see this.
#1129