General refactors & reformatting across the board

This commit is contained in:
Henrik Lissner 2020-06-04 20:02:46 -04:00
parent af91af01fa
commit 8bf902d5f4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
25 changed files with 133 additions and 132 deletions

View file

@ -6,7 +6,8 @@
(setq lsp-session-file (concat doom-etc-dir "lsp-session"))
;; Auto-kill LSP server after last workspace buffer is killed.
(setq lsp-keep-workspace-alive nil)
;; Let `flycheck-check-syntax-automatically' determine this.
;; Let `flycheck-check-syntax-automatically' determine this. Will be removed
;; soon: https://github.com/emacs-lsp/lsp-mode/pull/1701/files
(setq lsp-flycheck-live-reporting nil)
;; For `lsp-clients'
(setq lsp-server-install-dir (concat doom-etc-dir "lsp/")

View file

@ -7,9 +7,9 @@
(map! :after terraform-mode
:map terraform-mode-map
:localleader
:desc "terraform apply" "a" (λ! (compile "terraform apply" t))
:desc "terraform init" "i" (λ! (compile "terraform init"))
:desc "terraform plan" "p" (λ! (compile "terraform plan")))
:desc "terraform apply" "a" (cmd! (compile "terraform apply" t))
:desc "terraform init" "i" (cmd! (compile "terraform init"))
:desc "terraform plan" "p" (cmd! (compile "terraform plan")))
(use-package! company-terraform