Replies: 1 comment
-
I think that comes as is from |
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
-
I'm aware that this might not be the correct place to ask this, but I'm also not sure if the source of my problem is
rust-analyzer
,LanguageClient-neovim
orncm2
My problem is best described by a video. Here I want to complete the
append
function so I start typing it, then doC-n
to select it in the list. It insertsappend(…)
and when I pressc-y
which I have bound toncm2_ultisnips#expand_or("\<CR>", 'n')
it expands it with snippets.Peek.2021-01-19.12-16.mp4
However, I don't always want to have snippet expansion, for example if I want to add an append function on a line that already exists. Instead, I'd want
c-n
to comlete justappend
and the parens to not be added until I pressc-y
Is this possible?
I tried setting
rust-analyzer.completion.addCallParenthesis
to false, but that seems to completely disable snippet completionBeta Was this translation helpful? Give feedback.
All reactions