Skip to content

Commit

Permalink
add Terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Sep 20, 2024
1 parent 44fc02e commit 78b5d2c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions content/en/modes/terraform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Terraform
---

Lem supports Terraform files and editing them with the Terraform Language Server.

>! Terraform support was added on September 20th, 2024.
This is the default LSP configuration:

```lisp
(define-language-spec (terraform-spec lem-terraform-mode:terraform-mode)
:language-id "terraform"
:root-uri-patterns '()
:command (lambda (port) `("terraform-ls" "serve" "-port" ,(princ-to-string port)))
:install-command ""
:readme-url "https://github.com/hashicorp/terraform-ls"
:connection-mode :tcp)
```

0 comments on commit 78b5d2c

Please sign in to comment.