about summary refs log tree commit diff
path: root/modules/common/emacs
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-25 18:09:05 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-25 18:09:05 +0300
commite2cc46b37e33643cf3dd017adb8a009bf143e246 (patch)
tree86f24ea544e9ed75bf8736c951a09dfdb2219f5d /modules/common/emacs
parent2023-11-23 (diff)
2023-11-25
Diffstat (limited to 'modules/common/emacs')
-rw-r--r--modules/common/emacs/default.nix6
-rw-r--r--modules/common/emacs/doom/init.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix
index 3db4393..6c81ce2 100644
--- a/modules/common/emacs/default.nix
+++ b/modules/common/emacs/default.nix
@@ -105,6 +105,9 @@ in {
                     nodePackages.js-beautify # :lang web
                     nodePackages.prettier # :editor format
                     nodePackages.stylelint # :lang web
+                    nodePackages.vscode-css-languageserver-bin # lang (web +lsp)
+                    nodePackages.vscode-html-languageserver-bin # lang (web +lsp)
+                    nodePackages.vscode-json-languageserver-bin # lang (json +lsp)
                     nodejs # :tools debugger
                     pandoc # :lang org markdown latex
                     perl # :term vterm
@@ -127,6 +130,7 @@ in {
                     shellcheck # :lang sh
                     shfmt # :lang sh :editor format
                     sqlite # :lang (org +roam2) :tools lookup
+                    terraform-ls # :tools (terraform +lsp)
                     texlab # lang (tex +lsp)
                     texlive.combined.scheme-full # :lang org tex
                     unzip # :tools debugger
@@ -240,6 +244,8 @@ in {
         };
 
         bash.initExtra = mkAfter ''
+          export PATH="$PATH:$XDG_CONFIG_HOME/emacs/bin"
+
           # https://github.com/akermu/emacs-libvterm
           if [[ "$INSIDE_EMACS" = vterm ]] && [[ -n "$EMACS_VTERM_PATH" ]] && [[ -f "$EMACS_VTERM_PATH/etc/emacs-vterm-bash.sh" ]]; then
               source "$EMACS_VTERM_PATH/etc/emacs-vterm-bash.sh"
diff --git a/modules/common/emacs/doom/init.el b/modules/common/emacs/doom/init.el
index 3796fac..f03971f 100644
--- a/modules/common/emacs/doom/init.el
+++ b/modules/common/emacs/doom/init.el
@@ -67,7 +67,7 @@
        make
        (pass +auth)
        pdf
-       terraform
+       (terraform +lsp)
        tree-sitter
        upload
 

Consider giving Nix/NixOS a try! <3