diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 6e2feba..1fed1f9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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)