[Top][All Lists]

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

[elpa] externals/eglot 489080b 02/45: eglot-ignored-server-capabilites:

From: João Távora
Subject: [elpa] externals/eglot 489080b 02/45: eglot-ignored-server-capabilites: Prefer all choices over "Other"
Date: Thu, 22 Nov 2018 19:15:26 -0500 (EST)

branch: externals/eglot
commit 489080bd2058005c081c2e20125d0a128fb66883
Author: Michał Krzywkowski <address@hidden>
Commit: Michał Krzywkowski <address@hidden>

    eglot-ignored-server-capabilites: Prefer all choices over "Other"
    Previously the "Other" choice matched every value, so it was always
    shown in the customize buffer.
    * eglot.el (eglot-ignored-server-capabilites): Make the "Other" choice
      the last possible option.
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 8014024..b660683 100644
--- a/eglot.el
+++ b/eglot.el
@@ -747,7 +747,6 @@ You could add, for instance, the symbol
 under cursor."
   :type '(repeat
-           (symbol :tag "Other")
            (const :tag "Documentation on hover" :hoverProvider)
            (const :tag "Code completion" :completionProvider)
            (const :tag "Function signature help" :signatureHelpProvider)
@@ -767,7 +766,8 @@ under cursor."
            (const :tag "Highlight links in document" :documentLinkProvider)
            (const :tag "Decorate color references" :colorProvider)
            (const :tag "Fold regions of buffer" :foldingRangeProvider)
-           (const :tag "Execute custom commands" :executeCommandProvider))))
+           (const :tag "Execute custom commands" :executeCommandProvider)
+           (symbol :tag "Other"))))
 (defun eglot--server-capable (&rest feats)
   "Determine if current server is capable of FEATS."

reply via email to

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