diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 6201080d..d5a64a6b 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -507,6 +507,11 @@ make sure to setup authinfo :mode "\\.js\\'" :hook (js2-mode . lsp-deferred)) #+end_src +***** Nix +#+begin_src emacs-lisp +(use-package nix-mode + :mode "\\.nix\\'") +#+end_src *** Commenter #+begin_src emacs-lisp (use-package evil-nerd-commenter diff --git a/config/emacs/init.el b/config/emacs/init.el index fd3f3b36..7f561101 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -433,6 +433,9 @@ :mode "\\.js\\'" :hook (js2-mode . lsp-deferred)) +(use-package nix-mode + :mode "\\.nix\\'") + (use-package evil-nerd-commenter :bind ("M-/" . evilnc-comment-or-uncomment-lines))