From a04c931dc078ffa2f710e902aa0ff045c0efa5d6 Mon Sep 17 00:00:00 2001 From: John Doty Date: Wed, 26 Oct 2022 13:15:15 +0000 Subject: [PATCH] Some more stuff --- .emacs.d/custom.el | 2 +- .emacs.d/init.el | 7 +++++++ install.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el index 525cf06..3d91857 100644 --- a/.emacs.d/custom.el +++ b/.emacs.d/custom.el @@ -58,7 +58,7 @@ '(org-odd-levels-only t) '(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED"))) '(package-selected-packages - '(deadgrep solarized-theme gist adaptive-wrap kubel protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company omnisharp geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow)) + '(terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company omnisharp geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow)) '(reb-re-syntax 'string) '(rmail-mail-new-frame t) '(safe-local-variable-values diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 691da3a..3c85f6d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1184,5 +1184,12 @@ Or, uh, Objective C, I guess." ;; ================================================================= (use-package deadgrep :ensure) +;; ================================================================= +;; Terraform +;; ================================================================= +(use-package terraform-mode :ensure + :mode "\\.tf(vars)?\\'" + :config (add-hook 'terraform-mode-hook #'terraform-format-on-save-mode)) + ;;; init.el ends here diff --git a/install.sh b/install.sh index 301de11..087801d 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ sudo python3 "./unminimize.py" # # OK this stuff here is better in bash, and also is specific to setting up # # coder.com instances, so. Add packages that I want in my coder image. sudo apt update -sudo apt install -y wget fish java-common +sudo apt install -y wget fish java-common atop # Change my shell to fish. sudo chsh -s /usr/bin/fish $USER