]> git.eshelyaron.com Git - emacs.git/commit
Handle lsp 3.15's ispreferred code action property
authorDamien Merenne <damien@bloom-life.com>
Wed, 28 Oct 2020 20:40:32 +0000 (21:40 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 1 Nov 2020 18:28:05 +0000 (18:28 +0000)
commite4f4762e7acd7ee235aada8c51177a08502f5c85
treee9ef19c4774ad8d72b4457e1ef9cef6477287c07
parent7d506b0cd5a9afe68b66d6553520074d9c06c8ea
Handle lsp 3.15's ispreferred code action property

* eglot.el (eglot--lsp-interface-alist): Add :isPreferred to CodeAction.
(eglot-client-capabilities):  Announce :isPreferredSupport.
(eglot-code-actions): Consider preferred CodeAction item.

Co-authored-by: João Távora <joaotavora@gmail.com>
GitHub-reference: close https://github.com/joaotavora/eglot/issues/558
lisp/progmodes/eglot.el