* bug#65671: Eglot: add support for terraform-ls
@ 2023-08-31 19:36 me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-01 16:04 ` Stefan Kangas
0 siblings, 1 reply; 4+ messages in thread
From: me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-31 19:36 UTC (permalink / raw)
To: 65671
From 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001
From: Ross Timson <me@rosstimson.com>
Date: Thu, 31 Aug 2023 20:28:22 +0100
Subject: [PATCH] Eglot: add support for terraform-ls
Adding support for the official Terraform LSP server.
---
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 65daa0941d5..3375e7969c2 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -257,7 +257,8 @@ chosen (interactively or automatically)."
. ,(eglot-alternatives
'(("marksman" "server")
("vscode-markdown-language-server" "--stdio"))))
- (graphviz-dot-mode . ("dot-language-server" "--stdio")))
+ (graphviz-dot-mode . ("dot-language-server" "--stdio"))
+ (terraform-mode . ("terraform-ls" "serve")))
"How the command `eglot' guesses the server to start.
An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
identifies the buffers that are to be managed by a specific
--
2.39.2 (Apple Git-143)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#65671: Eglot: add support for terraform-ls
2023-08-31 19:36 bug#65671: Eglot: add support for terraform-ls me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-01 16:04 ` Stefan Kangas
2023-09-01 16:13 ` João Távora
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2023-09-01 16:04 UTC (permalink / raw)
To: me; +Cc: 65671, João Távora
> From 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001
> From: Ross Timson <me@rosstimson.com>
> Date: Thu, 31 Aug 2023 20:28:22 +0100
> Subject: [PATCH] Eglot: add support for terraform-ls
>
> Adding support for the official Terraform LSP server.
> ---
> 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 65daa0941d5..3375e7969c2 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -257,7 +257,8 @@ chosen (interactively or automatically)."
> . ,(eglot-alternatives
> '(("marksman" "server")
> ("vscode-markdown-language-server" "--stdio"))))
> - (graphviz-dot-mode . ("dot-language-server" "--stdio")))
> + (graphviz-dot-mode . ("dot-language-server" "--stdio"))
> + (terraform-mode . ("terraform-ls" "serve")))
> "How the command `eglot' guesses the server to start.
> An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
> identifies the buffers that are to be managed by a specific
> --
> 2.39.2 (Apple Git-143)
Makes sense to me. João, do you have any comments?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#65671: Eglot: add support for terraform-ls
2023-09-01 16:04 ` Stefan Kangas
@ 2023-09-01 16:13 ` João Távora
2023-09-01 18:02 ` Stefan Kangas
0 siblings, 1 reply; 4+ messages in thread
From: João Távora @ 2023-09-01 16:13 UTC (permalink / raw)
To: Stefan Kangas; +Cc: me, 65671
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
No, no comments. Push these simple contributions at will, as usual.
It would be useful, at some point, to collect these additions in the
etc/EGLOT-NEWS for (grouped in a single bullet, of course).
João
On Fri, Sep 1, 2023, 17:04 Stefan Kangas <stefankangas@gmail.com> wrote:
> > From 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001
> > From: Ross Timson <me@rosstimson.com>
> > Date: Thu, 31 Aug 2023 20:28:22 +0100
> > Subject: [PATCH] Eglot: add support for terraform-ls
> >
> > Adding support for the official Terraform LSP server.
> > ---
> > 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 65daa0941d5..3375e7969c2 100644
> > --- a/lisp/progmodes/eglot.el
> > +++ b/lisp/progmodes/eglot.el
> > @@ -257,7 +257,8 @@ chosen (interactively or automatically)."
> > . ,(eglot-alternatives
> > '(("marksman" "server")
> >
> ("vscode-markdown-language-server" "--stdio"))))
> > - (graphviz-dot-mode .
> ("dot-language-server" "--stdio")))
> > + (graphviz-dot-mode .
> ("dot-language-server" "--stdio"))
> > + (terraform-mode . ("terraform-ls"
> "serve")))
> > "How the command `eglot' guesses the server to start.
> > An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
> > identifies the buffers that are to be managed by a specific
> > --
> > 2.39.2 (Apple Git-143)
>
> Makes sense to me. João, do you have any comments?
>
[-- Attachment #2: Type: text/html, Size: 2508 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#65671: Eglot: add support for terraform-ls
2023-09-01 16:13 ` João Távora
@ 2023-09-01 18:02 ` Stefan Kangas
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2023-09-01 18:02 UTC (permalink / raw)
To: João Távora; +Cc: me, 65671-done
Version: 29.2
João Távora <joaotavora@gmail.com> writes:
> No, no comments. Push these simple contributions at will, as usual.
Thanks. Fixed up the commit message and pushed to emacs-29 as commit
369f2eea100.
Thank you for the patch, Ross.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-01 18:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-31 19:36 bug#65671: Eglot: add support for terraform-ls me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-01 16:04 ` Stefan Kangas
2023-09-01 16:13 ` João Távora
2023-09-01 18:02 ` Stefan Kangas
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).