add nix mode

This commit is contained in:
Sakooooo 2023-09-15 15:28:32 +00:00
parent d917c811cb
commit d7f2c40290
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 8 additions and 0 deletions

View file

@ -507,6 +507,11 @@ make sure to setup authinfo
:mode "\\.js\\'" :mode "\\.js\\'"
:hook (js2-mode . lsp-deferred)) :hook (js2-mode . lsp-deferred))
#+end_src #+end_src
***** Nix
#+begin_src emacs-lisp
(use-package nix-mode
:mode "\\.nix\\'")
#+end_src
*** Commenter *** Commenter
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package evil-nerd-commenter (use-package evil-nerd-commenter

View file

@ -433,6 +433,9 @@
:mode "\\.js\\'" :mode "\\.js\\'"
:hook (js2-mode . lsp-deferred)) :hook (js2-mode . lsp-deferred))
(use-package nix-mode
:mode "\\.nix\\'")
(use-package evil-nerd-commenter (use-package evil-nerd-commenter
:bind ("M-/" . evilnc-comment-or-uncomment-lines)) :bind ("M-/" . evilnc-comment-or-uncomment-lines))