Skip to content

Commit

Permalink
fix(emacs): disable electric-indent-mode in emacs-lisp-mode
Browse files Browse the repository at this point in the history
Since we use parinfer
  • Loading branch information
gekoke committed Dec 13, 2023
1 parent c5f0a9b commit e074c87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,11 @@
"g h" #'lsp-ui-doc-glance))

(use-package parinfer-rust-mode
:hook
(emacs-lisp-mode . parinfer-rust-mode)
(emacs-lisp-mode . (lambda () (setq-local electric-indent-mode nil)))
:custom
(parinfer-rust-troublesome-modes ())
:hook emacs-lisp-mode)
(parinfer-rust-troublesome-modes ()))

(use-package lsp-nix
:ensure lsp-mode
Expand Down

0 comments on commit e074c87

Please sign in to comment.