From: Ross Timson Date: Thu, 31 Aug 2023 19:28:22 +0000 (+0100) Subject: Add "terraform-ls" LSP server to Eglot X-Git-Tag: emacs-29.1.90~159 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=369f2eea100;p=emacs.git Add "terraform-ls" LSP server to Eglot * lisp/progmodes/eglot.el (eglot-server-programs): Add "terraform-ls", the official Terraform LSP server. (Bug#65671) Copyright-paperwork-exempt: yes --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 890f1e91b86..4c5b9c30d91 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -254,7 +254,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