]> git.eshelyaron.com Git - emacs.git/commit
Unbreak elm language server which does use :triggercharacters
authorJoão Távora <joaotavora@gmail.com>
Mon, 30 Sep 2019 16:06:48 +0000 (18:06 +0200)
committerJoão Távora <joaotavora@gmail.com>
Sat, 5 Oct 2019 10:50:47 +0000 (11:50 +0100)
commit0e7e66fe2739a203dd2f2e5138e27f8b8dd04fb0
tree3598d8d01e20749fb7f9ce6e315c91b7e2a88359
parentfe37d7e3ce796a2bee21af6a0b34de59aef1daca
Unbreak elm language server which does use :triggercharacters

Only query completionProvider -> triggerCharacter information if the
server has provided it.  Elm's, and probaly other's, do not provide
it, which doesn't mean they don't support completion.

* eglot.el (eglot-completion-at-point): Check that completion
capability is a list before treating it like one.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/285
lisp/progmodes/eglot.el