Fix terraform-ls support
This commit is contained in:
parent
0556866761
commit
c8b062d9be
|
@ -12,6 +12,7 @@
|
|||
(menu-bar-mode -1)
|
||||
;; For Emacs 29.
|
||||
(pixel-scroll-precision-mode t)
|
||||
(setq create-lockfiles nil)
|
||||
|
||||
(load-theme 'modus-vivendi)
|
||||
|
||||
|
@ -138,7 +139,9 @@
|
|||
|
||||
;; lsp-mode stuff
|
||||
(use-package eglot :straight t
|
||||
:config (add-hook 'go-mode-hook 'eglot-ensure))
|
||||
:config (add-hook 'go-mode-hook 'eglot-ensure)
|
||||
(add-hook 'terraform-mode-hook 'eglot-ensure)
|
||||
(add-to-list 'eglot-server-programs '(terraform-mode . ("terraform-ls" "serve"))))
|
||||
(use-package company :straight t
|
||||
:config
|
||||
(add-hook 'after-init-hook 'global-company-mode)
|
||||
|
|
Loading…
Reference in a new issue