mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-26 16:41:04 -05:00
feat(terraform): eglot: use tofu-ls if present
This should be upstreamed. Ref: doomemacs/community#17
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
(setq-hook! 'terraform-mode-hook compile-command +terraform-runner)
|
(setq-hook! 'terraform-mode-hook compile-command +terraform-runner)
|
||||||
|
|
||||||
(when (modulep! +lsp)
|
(when (modulep! +lsp)
|
||||||
|
(set-eglot-client! 'terraform-mode '("tofu-ls" "serve") '("terraform-ls" "serve"))
|
||||||
(add-hook 'terraform-mode-local-vars-hook #'lsp! 'append))
|
(add-hook 'terraform-mode-local-vars-hook #'lsp! 'append))
|
||||||
|
|
||||||
(map! :map terraform-mode-map
|
(map! :map terraform-mode-map
|
||||||
|
Reference in New Issue
Block a user