From e01b1c8ac9f60c29f048553e0106ec2c80636565 Mon Sep 17 00:00:00 2001 From: Troy Brown Date: Sun, 2 Jun 2024 11:48:54 -0400 Subject: [PATCH] Support ada-ts-mode, gpr-mode and gpr-ts-mode in Eglot * lisp/progmodes/eglot.el (eglot-server-programs): Add ada-ts-mode, gpr-mode and gpr-ts-mode. Copyright-paperwork-exempt: yes (cherry picked from commit 58a26db6261b752a34957a6554820a7cf5c05fc2) --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 96705d8f47c..22cee1ada7b 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -287,7 +287,8 @@ automatically)." '("language_server.bat") (eglot-alternatives '("language_server.sh" "start_lexical.sh")))) - (ada-mode . ("ada_language_server")) + ((ada-mode ada-ts-mode) . ("ada_language_server")) + ((gpr-mode gpr-ts-mode) . ("ada_language_server" "--language-gpr")) (scala-mode . ,(eglot-alternatives '("metals" "metals-emacs"))) (racket-mode . ("racket" "-l" "racket-langserver")) -- 2.39.2