tag: 1.2
commit 75838491e6b7c92b35d7a6d6297afad7ea52e505
Author: Michał Krzywkowski <[email protected]>
Commit: Michał Krzywkowski <[email protected]>
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
(choice
- (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."