all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add cperl-mode to eglot-server-programs
@ 2022-11-12 13:13 Shohei YOSHIDA
  2022-11-12 19:41 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Shohei YOSHIDA @ 2022-11-12 13:13 UTC (permalink / raw)
  To: emacs-devel; +Cc: Shohei YOSHIDA

---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 63ebbe6cab..c59606a7cb 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -234,7 +234,7 @@ eglot-server-programs
                                  . ("clojure-lsp"))
                                 (csharp-mode . ("omnisharp" "-lsp"))
                                 (purescript-mode . ("purescript-language-server" "--stdio"))
-                                (perl-mode . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))
+                                ((perl-mode cperl-mode) . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))
                                 (markdown-mode . ("marksman" "server")))
   "How the command `eglot' guesses the server to start.
 An association list of (MAJOR-MODE . CONTACT) pairs.  MAJOR-MODE
-- 
2.37.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add cperl-mode to eglot-server-programs
  2022-11-12 13:13 [PATCH] Add cperl-mode to eglot-server-programs Shohei YOSHIDA
@ 2022-11-12 19:41 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-11-12 19:41 UTC (permalink / raw)
  To: Shohei YOSHIDA, emacs-devel

Shohei YOSHIDA <syohex@gmail.com> writes:

> ---
>  lisp/progmodes/eglot.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
> index 63ebbe6cab..c59606a7cb 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -234,7 +234,7 @@ eglot-server-programs
>                                   . ("clojure-lsp"))
>                                  (csharp-mode . ("omnisharp" "-lsp"))
>                                  (purescript-mode . ("purescript-language-server" "--stdio"))
> -                                (perl-mode . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))
> +                                ((perl-mode cperl-mode) . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))
>                                  (markdown-mode . ("marksman" "server")))
>    "How the command `eglot' guesses the server to start.
>  An association list of (MAJOR-MODE . CONTACT) pairs.  MAJOR-MODE
> --
> 2.37.2

Thanks for the patch, applied to Emacs 29.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-12 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-12 13:13 [PATCH] Add cperl-mode to eglot-server-programs Shohei YOSHIDA
2022-11-12 19:41 ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.