emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot c8cccee 52/62: Ignore extra keys in textDocument/


From: Stefan Monnier
Subject: [elpa] externals/eglot c8cccee 52/62: Ignore extra keys in textDocument/publishDiagnostics (#81)
Date: Sat, 29 Sep 2018 17:13:36 -0400 (EDT)

branch: externals/eglot
commit c8ccceed0dd109a4a5b32ddb35504c6aa56d5ce6
Author: Phillip Dixon <address@hidden>
Commit: João Távora <address@hidden>

    Ignore extra keys in textDocument/publishDiagnostics (#81)
    
    Accoding to the "discussion" in https://reviews.llvm.org/D50571, it
    was deemed sufficient that VSCode is fine with the non-standard
    extension -- jt
    
    Copyright-paperwork-exempt: yes
    
    * eglot.el (eglot-handle-notification): Add &allow-other-keys
---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 4f72644..eba1b1d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1036,7 +1036,8 @@ COMMAND is a symbol naming the command."
         (cl-loop
          for diag-spec across diagnostics
          collect (cl-destructuring-bind (&key range ((:severity sev)) _group
-                                              _code source message)
+                                              _code source message
+                                              &allow-other-keys)
                      diag-spec
                    (setq message (concat source ": " message))
                    (pcase-let



reply via email to

[Prev in Thread] Current Thread [Next in Thread]