diff options
| author | João Távora | 2025-12-19 09:43:02 +0000 |
|---|---|---|
| committer | João Távora | 2025-12-19 09:43:53 +0000 |
| commit | cfb4bace26c6104c23698b6d7da243845cc1d911 (patch) | |
| tree | a706315d5bdfee86e817b017b95686b8a87e917d | |
| parent | 4fe28df3cd7f8e403ab8333b5dd352a6ce5e33c6 (diff) | |
| download | emacs-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-NEWS | 7 | ||||
| -rw-r--r-- | lisp/progmodes/eglot.el | 4 |
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 | |||
| 28 | server is known to support the "pull" variant exclusively, while the | 28 | server 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 | |||
| 33 | Eglot now supports and advertises the 'relativePatternSupport' | ||
| 34 | sub-feature of 'didChangeWatchedFiles'. Some LSP servers use it to ask | ||
| 35 | for file watches outside the current project's root and so be notified | ||
| 36 | of 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 | ||
| 33 | The new minor mode 'eglot-semantic-tokens-mode' provides enhanced syntax | 40 | The 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'. |