aboutsummaryrefslogtreecommitdiff
path: root/config/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'config/emacs.org')
-rw-r--r--config/emacs.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/emacs.org b/config/emacs.org
index dcc4a0e..1fcca6c 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -321,7 +321,10 @@ We set up eglot, the LSP manager for emacs, now built in:
(use-package eglot
:config
(add-hook 'prog-mode-hook 'eglot-ensure)
- (add-hook 'prog-mode-hook 'lsp))
+ (add-to-list 'eglot-server-programs '(nix-mode . ("nil")))
+ (add-hook 'prog-mode-hook 'lsp)
+ :hook
+ (nix-mode . eglot-ensure))
#+end_src
** Projectile
Manages projects and shit.