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
This commit is contained in:
parent
5cbe96d17f
commit
369f2eea10
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ chosen (interactively or automatically)."
|
||||||
. ,(eglot-alternatives
|
. ,(eglot-alternatives
|
||||||
'(("marksman" "server")
|
'(("marksman" "server")
|
||||||
("vscode-markdown-language-server" "--stdio"))))
|
("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.
|
"How the command `eglot' guesses the server to start.
|
||||||
An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
|
An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
|
||||||
identifies the buffers that are to be managed by a specific
|
identifies the buffers that are to be managed by a specific
|
||||||
|
|
Loading…
Add table
Reference in a new issue