From: Troy Brown Date: Sun, 2 Jun 2024 15:48:54 +0000 (-0400) Subject: Support ada-ts-mode, gpr-mode and gpr-ts-mode in Eglot X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e01b1c8ac9f60c29f048553e0106ec2c80636565;p=emacs.git 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) --- 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"))