aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2025-12-19 09:43:02 +0000
committerJoão Távora2025-12-19 09:43:53 +0000
commitcfb4bace26c6104c23698b6d7da243845cc1d911 (patch)
treea706315d5bdfee86e817b017b95686b8a87e917d
parent4fe28df3cd7f8e403ab8333b5dd352a6ce5e33c6 (diff)
downloademacs-cfb4bace26c6104c23698b6d7da243845cc1d911.tar.gz
emacs-cfb4bace26c6104c23698b6d7da243845cc1d911.zip
; Eglot: mention relativePatternSupport in /etc/EGLOT-NEWS
* etc/EGLOT-NEWS (Changes to upcoming Eglot): Mention relativePatternSupport.
-rw-r--r--etc/EGLOT-NEWS7
-rw-r--r--lisp/progmodes/eglot.el4
2 files changed, 10 insertions, 1 deletions
diff --git a/etc/EGLOT-NEWS b/etc/EGLOT-NEWS
index fea878a47ca..b3edd77cacd 100644
--- a/etc/EGLOT-NEWS
+++ b/etc/EGLOT-NEWS
@@ -28,6 +28,13 @@ requests diagnostics explicitly rather than relying on sporadic
28server is known to support the "pull" variant exclusively, while the 28server is known to support the "pull" variant exclusively, while the
29'ty' server is known to support it alongside "push". 29'ty' server is known to support it alongside "push".
30 30
31** Support for watching files outside the project (bug#79809)
32
33Eglot now supports and advertises the 'relativePatternSupport'
34sub-feature of 'didChangeWatchedFiles'. Some LSP servers use it to ask
35for file watches outside the current project's root and so be notified
36of changes to dependencies that affect the current project.
37
31** Support for semantic tokens (bug#79374) 38** Support for semantic tokens (bug#79374)
32 39
33The new minor mode 'eglot-semantic-tokens-mode' provides enhanced syntax 40The new minor mode 'eglot-semantic-tokens-mode' provides enhanced syntax
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 4d31c314ef5..7d8b2fd138f 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -2355,7 +2355,9 @@ diagnostics, used for incremental updates.")
2355 (when revert-buffer-preserve-modes 2355 (when revert-buffer-preserve-modes
2356 (eglot--signal-textDocument/didOpen) 2356 (eglot--signal-textDocument/didOpen)
2357 (when eglot-semantic-tokens-mode 2357 (when eglot-semantic-tokens-mode
2358 (eglot-semantic-tokens-mode)))) 2358 (trace-values "OH YEAH!?")
2359 (eglot-semantic-tokens-mode))
2360 ))
2359 2361
2360(defun eglot--maybe-activate-editing-mode () 2362(defun eglot--maybe-activate-editing-mode ()
2361 "Maybe activate `eglot--managed-mode'. 2363 "Maybe activate `eglot--managed-mode'.