Replies: 1 comment 2 replies
-
Update: turns out the problem is Any reason |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have eglot setup with sourcekit-lsp for a Swift project. Generally it's working great.
However, I cannot get eglot to request snippet support from the server. I have
yas-global-mode
enabled in my emacs config and also use company.company-backends
is set to the default value of(company-capf)
.Here's the server initialisation output:
As you can see
:snippetSupport
is:json-false
. If I force this tot
(in eglot.el) the server responds with snippet completions, however they are not expanded correctly when I complete them in Emacs.Here are the relevant sections of my init.el. I'm slightly tearing my hair out over this - nothing I've tried seems to enable snippet expansion in eglot.
FWIW snippet expansion worked automatically in
lsp-mode
, but I much prefer eglot in general.Beta Was this translation helpful? Give feedback.
All reactions