summary refs log tree commit diff
diff options
context:
space:
mode:
authorTerin Stock <terinjokes@gmail.com>2022-06-27 12:56:38 -0700
committerTerin Stock <terinjokes@gmail.com>2022-06-27 13:00:01 -0700
commit7e45ef2ac44a52be4da28c1e14b32e589abc6dff (patch)
treeee3d757fdaeda8476969eb410226c69d8376ff16
parenta96946eb5d0b37462bac43215f249a55aa7569f5 (diff)
add Terraform support
-rw-r--r--config.el4
-rw-r--r--init.el2
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