From 7e45ef2ac44a52be4da28c1e14b32e589abc6dff Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Mon, 27 Jun 2022 12:56:38 -0700 Subject: add Terraform support --- config.el | 4 +++- init.el | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.el b/config.el index 69aa617..e054c66 100644 --- a/config.el +++ b/config.el @@ -79,4 +79,6 @@ (load! "lang/go") (load! "app/osm") -(set-eglot-client! 'c-mode '("clangd" "-j=3" "--clang-tidy")) +(when (featurep! :tools lsp +eglot) + (set-eglot-client! 'c-mode '("clangd" "-j=3" "--clang-tidy")) + (set-eglot-client! 'terraform-mode '("terraform-ls" "serve"))) diff --git a/init.el b/init.el index 6327c43..a031915 100644 --- a/init.el +++ b/init.el @@ -101,7 +101,7 @@ ;;prodigy ; FIXME managing external services & code builders ;;rgb ; creating color strings ;;taskrunner ; taskrunner for all your projects - ;;terraform ; infrastructure as code + terraform ; infrastructure as code ;;tmux ; an API for interacting with tmux tree-sitter ; syntax and parsing, sitting in a tree... ;;upload ; map local to remote projects via ssh/ftp -- cgit v1.2.3