]> git.eshelyaron.com Git - emacs.git/commit
Don't error out on unsupported diagnostic.codedescription
authorBrian Leung <bkleung89@gmail.com>
Tue, 11 Jan 2022 03:32:19 +0000 (19:32 -0800)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 12 Jan 2022 07:28:19 +0000 (08:28 +0100)
commit9adb310e08410b555651d7b819671842bd99f2c1
tree8319dcc01453a5ef148b6c8021ac549b84047e3d
parent34c7da506d85d7bb160e60957163eef941804364
Don't error out on unsupported diagnostic.codedescription

A codeDescription property is, at the time of writing, an object with
an href property (of type URI, or a string), denoting a "URI to open
with more information about the diagnostic error".

It's not obvious how best to put this into a Flymake diagostic
aside from simply appending it to the diagnostic message, so we'll
worry about it some other time.

* eglot.el (eglot--lsp-interface-alist)
(eglot-client-capabilities): Don't error out on unsupported
Diagnostic.codeDescription.

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