Skip to content

Eglot integration (snippet expansion) #1414

Closed Answered by joaotavora
KaranAhlawat asked this question in Q&A
Discussion options

You must be logged in to vote

I can't reproduce that either. I had asked you already if you can successfully expand the following in your *scratch* buffer after M-x yas-minor-mode:

(yas-expand-snippet "hello ${0:world}")

I can, flawlessly, in both Emacs 30 and Emacs 29. The decision whether to completely delete the "world" after the first typed character is controlled by delete-selection-mode (defaults to nil, but I think most people set it to t).

Replies: 4 comments 36 replies

Comment options

You must be logged in to vote
9 replies
@KaranAhlawat
Comment options

@dgutov
Comment options

@KaranAhlawat
Comment options

@dgutov
Comment options

@joaotavora
Comment options

Comment options

You must be logged in to vote
12 replies
@dgutov
Comment options

@dgutov
Comment options

@KaranAhlawat
Comment options

@KaranAhlawat
Comment options

@dgutov
Comment options

Comment options

You must be logged in to vote
3 replies
@KaranAhlawat
Comment options

@dgutov
Comment options

@KaranAhlawat
Comment options

Comment options

You must be logged in to vote
12 replies
@joaotavora
Comment options

Answer selected by KaranAhlawat
@KaranAhlawat
Comment options

@dgutov
Comment options

@joaotavora
Comment options

@dgutov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants