fix(emacs): convenient electric pairing and indentation for nix-mode

This commit is contained in:
Lucas Sta Maria 2025-03-14 11:23:57 -04:00
parent 76e1dfb8be
commit 1ad021b79c
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -86,7 +86,10 @@
(use-package ocamlformat :straight t)
(use-package elixir-mode :straight t)
(use-package inf-elixir :straight t)
(use-package nix-mode :straight t)
(use-package nix-mode :straight t
:hook
((nix-mode . electric-indent-local-mode)
(nix-mode . electric-pair-local-mode)))
(use-package irony :straight t
:bind (:map irony-mode-map ("C-c C-c" . custom-compile-c++))
:hook ((c++-mode c-mode) . irony-mode))