From 1723de39decf009d98e0924238504107e8e9bc80 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 26 Dec 2024 00:15:15 -0800 Subject: new commit on laptop --- config/emacs.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/emacs.el') diff --git a/config/emacs.el b/config/emacs.el index d1a4b50..4df7fc8 100644 --- a/config/emacs.el +++ b/config/emacs.el @@ -256,7 +256,10 @@ Otherwise, just insert the typed character." (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)) (use-package projectile :init -- cgit