Replies: 2 comments
-
This function is called, but (yas-minor-mode 1) isnt applied to my buffer.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I suggest going through the Reporting bugs section of the manual in order to share as many useful information as possible to understand the problem. |
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
-
Emacs from source 30.0.92
My understanding is that eglot should enable yasnippet insertion into completions if yasnippet is installed.
This isnt happening for me with cpp buffers and clangd. I need to specifically call yas-minor-mode in my c++-ts-mode-hook in order to see yasnippets like "ffo" - and then they don't appear in the completion popup - rather I need to C-g from the completion popup and then hit TAB. I know it sounds confusing - it is . If I DONT self enable yas-minor-mode I see "snippets" in the completion popup but they dont seem to correspond to whats in my yasnippets directory for c++ mode (eg no ffo). Where are they coming from?
Is there anything obvious I might be missing?
Note that yasnippet is difinitely loaded before any eglot buffers are opened. Originally I was using corfu but I'm now using "company" to more toe the company line... excuse the pun.. and use the more supported completion mechanism. eglot is enabled in my cpp buffers using a call to eglot-ensure added to the c++-ts-mode-hook.
Beta Was this translation helpful? Give feedback.
All reactions