]> git.eshelyaron.com Git - emacs.git/commit
Support snippet completions
authorJoão Távora <joaotavora@gmail.com>
Fri, 10 Aug 2018 01:29:26 +0000 (02:29 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 17 Aug 2018 23:27:25 +0000 (00:27 +0100)
commit0f33ef3e67cc16b04c7308688788d2c59b144a40
treed75b8c7ad44367d3edcda672890261bcba29b094
parent25a7b3d4a1ab26d96144155b06cde1052cebb4d3
Support snippet completions

* eglot.el (eglot-client-capabilities): Declare support for
snippet-based completions.
(eglot-completion-at-point): Expand snippet completions with
YASnippet if that is found.
(eglot-note, eglot-warning, eglot-error): Diagnostic
overlay priorities have to be slightly lower than yasnippet's,
which must be reasonably high.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/50
lisp/progmodes/eglot.el