Closed dragove closed 1 year ago
Yes, this should work. Afaik you should install yasnippet for the snippet expansion.
Yes, this should work. Afaik you should install yasnippet for the snippet expansion.
I've installed tempEl, And After I typed
let my_var = true;
my_var.if
And call tempel-expand
to expand, it becomes
let my_var = true;
my_var.if | {
|
}
The |
symbol is to present placeholders.
Tempel doesn't support such a postfix expansion where the entity before point is transformed into the first argument of the template.
I'm trying to use postfix completion with corfu and eglot. Postfix snippets are provided by some language servers. (e.g. rust-analyzer, jdtls). When I typed something like
and at the point after
if
. I can expand it toI can't find these snippets in corfu with eglot. So I'm looking for help here.