From 395a058d7de861a2883e65a52b79fa44bd7f16d9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 24 Sep 2025 14:04:08 -0400 Subject: [PATCH] feat(terraform): eglot: use tofu-ls if present This should be upstreamed. Ref: doomemacs/community#17 --- modules/tools/terraform/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/tools/terraform/config.el b/modules/tools/terraform/config.el index 24fcf66a7..d501aa52b 100644 --- a/modules/tools/terraform/config.el +++ b/modules/tools/terraform/config.el @@ -14,6 +14,7 @@ (setq-hook! 'terraform-mode-hook compile-command +terraform-runner) (when (modulep! +lsp) + (set-eglot-client! 'terraform-mode '("tofu-ls" "serve") '("terraform-ls" "serve")) (add-hook 'terraform-mode-local-vars-hook #'lsp! 'append)) (map! :map terraform-mode-map