diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-26 00:15:15 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-26 00:15:15 -0800 |
commit | 1723de39decf009d98e0924238504107e8e9bc80 (patch) | |
tree | f74e4dfb5e63beb4fb7d20d671bd758c2d91e908 /config/emacs.el | |
parent | fd231d6eaa9d2eea7f590650894ca8384694a7a8 (diff) |
new commit on laptop
Diffstat (limited to 'config/emacs.el')
-rw-r--r-- | config/emacs.el | 5 |
1 files changed, 4 insertions, 1 deletions
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 |