[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.2 6cbfdda 057/101: Make eglot-ignored-server-capabilites more u
From: |
Christian Johansson |
Subject: |
[elpa] 1.2 6cbfdda 057/101: Make eglot-ignored-server-capabilites more user-friendly (#126) |
Date: |
Thu, 29 Apr 2021 15:09:00 -0400 (EDT) |
tag: 1.2
commit 6cbfdda710f2617f37ec8d58e6a76b627e0576a2
Author: mkcms <k.michal@zoho.com>
Commit: João Távora <joaotavora@gmail.com>
Make eglot-ignored-server-capabilites more user-friendly (#126)
* eglot.el (eglot-ignored-server-capabilites): Add list of possible
choices to :type, along with a user-friendly description.
---
eglot.el | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index d2ec929..8014024 100644
--- a/eglot.el
+++ b/eglot.el
@@ -745,7 +745,29 @@ Doubles as an indicator of snippet support."
You could add, for instance, the symbol
`:documentHighlightProvider' to prevent automatic highlighting
under cursor."
- :type '(repeat symbol))
+ :type '(repeat
+ (choice
+ (symbol :tag "Other")
+ (const :tag "Documentation on hover" :hoverProvider)
+ (const :tag "Code completion" :completionProvider)
+ (const :tag "Function signature help" :signatureHelpProvider)
+ (const :tag "Go to definition" :definitionProvider)
+ (const :tag "Go to type definition" :typeDefinitionProvider)
+ (const :tag "Go to implementation" :implementationProvider)
+ (const :tag "Find references" :referencesProvider)
+ (const :tag "Highlight symbols automatically"
:documentHighlightProvider)
+ (const :tag "List symbols in buffer" :documentSymbolProvider)
+ (const :tag "List symbols in workspace" :workspaceSymbolProvider)
+ (const :tag "Execute code actions" :codeActionProvider)
+ (const :tag "Code lens" :codeLensProvider)
+ (const :tag "Format buffer" :documentFormattingProvider)
+ (const :tag "Format portion of buffer"
:documentRangeFormattingProvider)
+ (const :tag "On-type formatting" :documentOnTypeFormattingProvider)
+ (const :tag "Rename symbol" :renameProvider)
+ (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))))
(defun eglot--server-capable (&rest feats)
"Determine if current server is capable of FEATS."
- [elpa] 1.2 7583849 058/101: eglot-ignored-server-capabilites: Prefer all choices over "Other", (continued)
- [elpa] 1.2 7583849 058/101: eglot-ignored-server-capabilites: Prefer all choices over "Other", Christian Johansson, 2021/04/29
- [elpa] 1.2 240f88c 050/101: Don't warn on implementation-specific notifications (#93), Christian Johansson, 2021/04/29
- [elpa] 1.2 ba9877f 048/101: Close #86: Handle case when :textDocumentSync isn't a number, Christian Johansson, 2021/04/29
- [elpa] 1.2 6788dbc 074/101: Don't ignore unknown SymbolKinds in imenu, Christian Johansson, 2021/04/29
- [elpa] 1.2 9bf41be 076/101: Larger margin for printing test failure backtraces, Christian Johansson, 2021/04/29
- [elpa] 1.2 4550c08 077/101: Re-enable eclipse-jdt tests, Christian Johansson, 2021/04/29
- [elpa] 1.2 e866ca5 079/101: Use the container name of a symbol in imenu, Christian Johansson, 2021/04/29
- [elpa] 1.2 065f71a 080/101: Add support for code action literals, Christian Johansson, 2021/04/29
- [elpa] 1.2 7f8465c 025/101: Add a generic eglot-execute-command API, Christian Johansson, 2021/04/29
- [elpa] 1.2 d0ec044 041/101: Add go-langserver (#74), Christian Johansson, 2021/04/29
- [elpa] 1.2 6cbfdda 057/101: Make eglot-ignored-server-capabilites more user-friendly (#126),
Christian Johansson <=
- [elpa] 1.2 d54e494 046/101: Ignore extra keys in textDocument/publishDiagnostics (#81), Christian Johansson, 2021/04/29
- [elpa] 1.2 2d3c391 007/101: Close #48: be less verbose when using eglot-ensure, Christian Johansson, 2021/04/29
- [elpa] 1.2 9c2fd8c 002/101: Close #44: Robustify in the face of manual mode changes, Christian Johansson, 2021/04/29
- [elpa] 1.2 4d80eeb 015/101: Default eglot-handle-notifictiona|request must &allow-other-keys, Christian Johansson, 2021/04/29
- [elpa] 1.2 d2faf6d 001/101: Close #29: Implement workspace/didChangeConfiguration (#40), Christian Johansson, 2021/04/29
- [elpa] 1.2 5aea589 013/101: Close #58: Erase company-doc buffer in between doc requests, Christian Johansson, 2021/04/29
- [elpa] 1.2 5707785 024/101: * eglot.el (eglot-cquery): Capitalize docstring., Christian Johansson, 2021/04/29
- [elpa] 1.2 6067ec6 023/101: Minor fixes to test infrastructure, Christian Johansson, 2021/04/29
- [elpa] 1.2 13b8c61 040/101: Per #74: Don't error if server replies with empty hover message, Christian Johansson, 2021/04/29
- [elpa] 1.2 53c8f59 059/101: Handle case when diagnostic :character is out of range, Christian Johansson, 2021/04/29