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

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

[elpa] externals/eglot d9c3696 15/45: Fix #138: accept deprecated field


From: João Távora
Subject: [elpa] externals/eglot d9c3696 15/45: Fix #138: accept deprecated field in SymbolInformation
Date: Thu, 22 Nov 2018 19:15:28 -0500 (EST)

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

    Fix #138: accept deprecated field in SymbolInformation
    
    * eglot.el (xref-backend-identifier-completion-table)
    (eglot-imenu): Accept and ignore "deprecated"
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 3d77a4f..297d6f4 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1348,7 +1348,7 @@ DUMMY is ignored."
          (setq eglot--xref-known-symbols
                (mapcar
                 (jsonrpc-lambda
-                    (&key name kind location containerName)
+                    (&key name kind location containerName _deprecated)
                   (propertize name
                               :textDocumentPositionParams
                               (list :textDocument text-id
@@ -1656,7 +1656,7 @@ If SKIP-SIGNATURE, don't try to send 
textDocument/signatureHelp."
       (let ((entries
              (mapcar
               (jsonrpc-lambda
-                  (&key name kind location _containerName)
+                  (&key name kind location _containerName _deprecated)
                 (cons (propertize name :kind (cdr (assoc kind 
eglot--symbol-kind-names)))
                       (eglot--lsp-position-to-point
                        (plist-get (plist-get location :range) :start))))



reply via email to

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