fix(emacs): convenient electric pairing and indentation for nix-mode
This commit is contained in:
parent
76e1dfb8be
commit
1ad021b79c
1 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue