More updates to language servers for automatic install in emacs.nix

This commit is contained in:
Random936
2024-07-19 22:16:31 -07:00
parent fe957f682c
commit 27e2173690
2 changed files with 12 additions and 2 deletions

View File

@@ -220,6 +220,13 @@ sudo emerge -v app-emacs/ebuild-mode
Nix is the language used by NixOS and the Nix package manager.
#+begin_src emacs-lisp
(use-package lsp-nix
:ensure lsp-mode
:after (lsp-mode)
:demand t
:custom (lsp-nix-nil-formatter ["nixpkgs-fmt"]))
(use-package nix-mode
:mode "\\.nix\\'")
:mode "\\.nix\\'"
:hook (nix-mode . lsp-deferred))
#+end_src