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

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

[elpa] externals/elpa 79a2a1e 069/139: Be quite explicit about our lack


From: João Távora
Subject: [elpa] externals/elpa 79a2a1e 069/139: Be quite explicit about our lack of capabilities right now
Date: Mon, 14 May 2018 09:53:36 -0400 (EDT)

branch: externals/elpa
commit 79a2a1e12eb5ead6ee3419457607ab38647e1ac2
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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)



reply via email to

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