branch: externals/elpa
commit bbc64b4530734f7837d050094b755706cd34aadd
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Clean up client capabilities
    
    * eglot.el (eglot--client-capabilities): Clean up client
    capabilities.
---
 eglot.el | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/eglot.el b/eglot.el
index 2c97f2f..8e92725 100644
--- a/eglot.el
+++ b/eglot.el
@@ -215,23 +215,10 @@ CONTACT is as `eglot--contact'.  Returns a process 
object."
                                     :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
+                  :completion `(:dynamicRegistration :json-false)
+                  :hover      `(:dynamicRegistration :json-false)
+                  :references `(:dynamicRegistration :json-false)
+                  :definition `(:dynamicRegistration :json-false)
                   :publishDiagnostics `(:relatedInformation :json-false))
    :experimental (eglot--obj)))
 

Reply via email to