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

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

[elpa] externals/eglot 5f723ba 1/8: Prevent possible cquery choke on :in


From: João Távora
Subject: [elpa] externals/eglot 5f723ba 1/8: Prevent possible cquery choke on :initializationOptions
Date: Fri, 1 Jun 2018 12:58:25 -0400 (EDT)

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

    Prevent possible cquery choke on :initializationOptions
    
    Hopefully help debug #10.
    
    * eglot.el (eglot-initialization-options): Use `list'
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index cc5649f..a991cb1 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1600,8 +1600,8 @@ If SKIP-SIGNATURE, don't try to send 
textDocument/signatureHelp."
   "Passes through required cquery initialization options"
   (let* ((root (car (project-roots (eglot--project server))))
          (cache (expand-file-name ".cquery_cached_index/" root)))
-    (vector :cacheDirectory (file-name-as-directory cache)
-            :progressReportFrequencyMs -1)))
+    (list :cacheDirectory (file-name-as-directory cache)
+          :progressReportFrequencyMs -1)))
 
 (cl-defmethod eglot-handle-notification
   ((_server eglot-cquery) (_method (eql :$cquery/progress))



reply via email to

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