branch: externals/elpa commit 79a2a1e12eb5ead6ee3419457607ab38647e1ac2 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Be quite explicit about our lack of capabilities right now * eglot.el (eglot--client-capabilities): Spread out. --- eglot.el | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/eglot.el b/eglot.el index 8e39591..5701422 100644 --- a/eglot.el +++ b/eglot.el @@ -192,9 +192,40 @@ CONTACT is as `eglot--contact'. Returns a process object." (defun eglot--client-capabilities () "What the EGLOT LSP client supports." (eglot--obj - :workspace (eglot--obj) + :workspace (eglot--obj + :applyEdit nil + :workspaceEdit nil + :didChangeConfiguration nil + :didChangeWatchedFiles nil + :symbol nil + :executeCommand nil + :workspaceFolders nil + :configuration nil) :textDocument (eglot--obj - :publishDiagnostics `(:relatedInformation nil)))) + :synchronization (eglot--obj + :dynamicRegistration :json-false + :willSave t + :willSaveWaitUntil :json-false + :didSave t) + :completion nil + :hover nil + :signatureHelp nil + :references nil + :documentHighlight nil + :documentSymbol nil + :formatting nil + :rangeFormatting nil + :onTypeFormatting nil + :definition nil + :typeDefinition nil + :implementation nil + :codeAction nil + :codeLens nil + :documentLink nil + :colorProvider nil + :rename nil + :publishDiagnostics `(:relatedInformation :json-false)) + :experimental (eglot--obj))) (defun eglot--connect (project managed-major-mode short-name contact &optional success-fn)