From b3f2b5b8b5d659f6424c5a500a07c1f40733aab0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Mon, 20 Jan 2025 19:19:08 +0000 Subject: [PATCH] Eglot: release version 1.18 * etc/EGLOT-NEWS: Update. * lisp/progmodes/eglot.el (Version): Bump to 1.18 (cherry picked from commit 49f449bb5bc90bc1eca6b4a1f013d4c0b5460d65) --- etc/EGLOT-NEWS | 39 ++++++++++++++++++++++++++++++++++----- lisp/progmodes/eglot.el | 2 +- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/etc/EGLOT-NEWS b/etc/EGLOT-NEWS index 3f1b76bdea0..f4621994b67 100644 --- a/etc/EGLOT-NEWS +++ b/etc/EGLOT-NEWS @@ -20,11 +20,16 @@ https://github.com/joaotavora/eglot/issues/1234. * Changes in upcoming Eglot -** Disable workDoneProgress if eglot-report-progress is nil + +* Changes in Eglot 1.18 (20/1/2025) + +** 'eglot-managed-mode-hook' now run when turning off Eglot (bug#70958) -Eglot will now try to not register $/progress messages from the server -when the defcustom is set to nil. This requires a restart of the server -for the change to take effect. +** Better handling of 'eglot-report-progress' + +Eglot no longer advertises the 'workDoneProgress' capability when this +customization variable is set to nil. This requires a restart of the +server for the change to take effect. ** LSP MarkedString interface is now supported (bug#71353) @@ -38,16 +43,34 @@ C-M-i). ** More strict completion expansion (bug#72705). -It ensures that "expand common" commands (such as C-M-i or TAB in +Ensures that "expand common" commands (such as C-M-i or TAB in third-party frontends) don't result in fewer completions than before they are called. +** More robust completion results when typing quickly (github#1474, bug#73279) + +** Support for 'InsertReplaceEdit' objects (bug#73857) + +This allows servers such as Zig's 'zls' to behave better when completion +starts from the middle of an incomplete symbol. + ** Experimental support for Eglot-only subprojects (github#1337) Useful for complex projects with subprojects needing different language servers. See associated github issue https://github.com/joaotavora/eglot/discussions/1337 for examples. +** Support nested {} in server-provided globs (github#1403) + +In short, play nice with 'tailwindcss-language-server' which seems to +use this. + +** Eglot commands have a 'command-modes' property (bug#70554) + +** Fix to function signature display (bug#74914) + +** Fix command execution (bug#71642) + ** New servers have been added to 'eglot-server-programs'. - blueprint (bug#70015) @@ -56,6 +79,12 @@ https://github.com/joaotavora/eglot/discussions/1337 for examples. - millet - nushell (bug#68823) +** Eglot uses an internal 'track-changes.el' library (bug#70077) + +This should in theory help smoothen the Eglot's handling of events that +change the buffer. The library has been problematic in the past, let's +hope we're past that phase. + * Changes in Eglot 1.17 (25/1/2024) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index a254d74c07f..1e2cca2186a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2018-2025 Free Software Foundation, Inc. -;; Version: 1.17 +;; Version: 1.18 ;; Author: João Távora ;; Maintainer: João Távora ;; URL: https://github.com/joaotavora/eglot -- 2.39.5