[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 122dbb9d6e 14/33: Fix typo in user-visible eglot-
From: |
Stefan Kangas |
Subject: |
[elpa] externals/eglot 122dbb9d6e 14/33: Fix typo in user-visible eglot-ignored-server-capabilities |
Date: |
Sat, 8 Jan 2022 12:30:49 -0500 (EST) |
branch: externals/eglot
commit 122dbb9d6ef477c5c5f0351895652b825d6447de
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Fix typo in user-visible eglot-ignored-server-capabilities
The name with the typo, eglot-ignored-server-capabilites, is still
supported.
Per #724.
* NEWS.md: Mention change
* eglot.el (eglot-ignored-server-capabilities): New defcustom.
---
NEWS.md | 6 ++++++
eglot.el | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/NEWS.md b/NEWS.md
index ec39654929..4507278b4c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -12,6 +12,12 @@ Thanks to Brian Cully for the minimalist approach.
(also thanks to Felipe Lema who conducted many early experiments in
[#463][github#463])
+##### `eglot-ignored-server-capabilities` now correctly spelled
([#724][github#724])
+
+This user-visible variable used to be spelled
+`eglot-ignored-server-capabilites`, which is still an valid but
+obsolete name.
+
##### Manage cross-referenced files outside project ([#76][github#76],
([#686][github#686], ([#695][github#695])
This is activated by a new customization option
diff --git a/eglot.el b/eglot.el
index 4667526c37..5fdc25327f 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1386,7 +1386,10 @@ Doubles as an indicator of snippet support."
(font-lock-ensure)
(string-trim (filter-buffer-substring (point-min) (point-max))))))
-(defcustom eglot-ignored-server-capabilites (list)
+(define-obsolete-variable-alias 'eglot-ignored-server-capabilites
+ 'eglot-ignored-server-capabilities "1.8")
+
+(defcustom eglot-ignored-server-capabilities (list)
"LSP server capabilities that Eglot could use, but won't.
You could add, for instance, the symbol
`:documentHighlightProvider' to prevent automatic highlighting
- [elpa] externals/eglot updated (1ac06d0bcc -> b197e092f9), Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 1460324706 03/33: Update bug_report.md, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 835aa0e9b3 06/33: Per #697, #645: Hard code an exception to "node_modules" directores, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot a5b7b7d933 04/33: Fix #688: Support multiple servers out-of-box for same mode, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 194b178ef4 11/33: Close #712: Add support for LocationLink, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 122dbb9d6e 14/33: Fix typo in user-visible eglot-ignored-server-capabilities,
Stefan Kangas <=
- [elpa] externals/eglot 9b63f21e75 15/33: Respect completion-regexp-alist in Eglot's completion table, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot c3f1b7b43f 25/33: Fix #779: Correct "GNU ELPA" typo, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 670ee61169 23/33: Close #770: Mark eglot-completion-at-point capf "non-exclusive", Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 5a717c3861 01/33: Fix #671: Allow staying out of flymake-mode, eldoc-mode, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 44504db1ea 28/33: Use `locate-user-emacs-file` instead of `concat`, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 5cc8df63d8 08/33: Fix #702: Consider TRAMP in eglot-alternatives, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 0e6c0619da 09/33: Fix #703: Don't call eglot--executable-find more than needed, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot c17bdf6c98 16/33: Fixup last commit, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 8b15bf726f 19/33: Test javascript-basic with typescript-language-server, Stefan Kangas, 2022/01/08
- [elpa] externals/eglot 44793b6e07 20/33: Fix issues #755, #401; severity not set in textDocument/publishDiagnostics, Stefan Kangas, 2022/01/08