mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
feat(terraform): eglot: use tofu-ls if present
This should be upstreamed. Ref: doomemacs/community#17
This commit is contained in:
parent
e32f39f5e3
commit
395a058d7d
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue