about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.emacs10
-rw-r--r--hosts/home.nix9
2 files changed, 19 insertions, 0 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index dd66cc4..90a1614 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -66,6 +66,10 @@
       (current-buffer) ;; leave as-is
       (get-buffer-create "*dashboard*"))))
 
+(use-package direnv
+  :config
+  (direnv-mode))
+
 (use-package nix-mode
     :mode "\\.nix\\'")
 
@@ -74,3 +78,9 @@
 (use-package typescript-mode)
 
 (use-package jq-mode)
+
+(use-package lsp-mode
+  :hook ((haskell-mode . lsp-deferred))
+  :commands (lsp lsp-deferred))
+
+(use-package lsp-haskell)
diff --git a/hosts/home.nix b/hosts/home.nix
index 3941d6c..c406328 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -95,12 +95,21 @@ in
       extraPackages = epkgs: with epkgs; [
         use-package
 
+        direnv
+
         evil
         evil-collection
 
         doom-modeline
         dashboard
 
+        lsp-ui
+        projectile
+
+        lsp-mode
+        company
+        lsp-haskell
+
         nix-mode
         haskell-mode
         typescript-mode