From: Stefan Kangas <stefankangas@gmail.com>
To: Davide Masserut <dm@mssdvd.com>, 59245@debbugs.gnu.org
Cc: joaotavora@gmail.com
Subject: bug#59245: [PATCH] Add go-dot-mod-mode and go-dot-work-mode to eglot-server-programs
Date: Sun, 13 Nov 2022 05:06:10 -0800 [thread overview]
Message-ID: <CADwFkmnHa15M+qMvAya5=Of2+QzWthR7wn3pq=gdnqxZFF4Nug@mail.gmail.com> (raw)
In-Reply-To: <87edu7axpx.fsf@mssdvd.com>
Davide Masserut via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> This path adds go-dot-mod-mode and go-dot-work-mode to
> eglot-server-programs.
Thanks for the patch.
For posterity, could you clarify where `go-dot-mod-mode' and
`go-dot-work-mode' are from? Are they from some external package, and
if so, could you provide a URL? Thanks in advance.
> From e73ee956cfe46931123a3c11c32ab399d9abd39c Mon Sep 17 00:00:00 2001
> From: Davide Masserut <dm@mssdvd.com>
> Date: Sun, 13 Nov 2022 12:30:43 +0100
> Subject: [PATCH] Add go-dot-mod-mode and go-dot-work-mode to
> eglot-server-programs
>
> * lisp/progmodes/eglot.el (eglot-server-programs): Add new major modes
> to be used with gopls.
> ---
> 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 97c674f7aa..98d5281d2c 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -206,7 +206,7 @@ eglot-server-programs
> (elm-mode . ("elm-language-server"))
> (mint-mode . ("mint" "ls"))
> (kotlin-mode . ("kotlin-language-server"))
> - (go-mode . ("gopls"))
> + ((go-mode go-dot-mod-mode go-dot-work-mode) . ("gopls"))
> ((R-mode ess-r-mode) . ("R" "--slave" "-e"
> "languageserver::run()"))
> (java-mode . ("jdtls"))
> --
> 2.38.1
next prev parent reply other threads:[~2022-11-13 13:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 11:39 bug#59245: [PATCH] Add go-dot-mod-mode and go-dot-work-mode to eglot-server-programs Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-13 13:06 ` Stefan Kangas [this message]
2022-11-13 13:10 ` Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-13 13:48 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmnHa15M+qMvAya5=Of2+QzWthR7wn3pq=gdnqxZFF4Nug@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=59245@debbugs.gnu.org \
--cc=dm@mssdvd.com \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).