* eglot.el (xref-backend-identifier-completion-table)
(eglot-imenu): Accept and ignore "deprecated"
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/138
(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
(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))))