diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 4f3150d3..0049c23b 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2528,7 +2528,10 @@ eval-last-sexp. #+END_SRC *** nix #+BEGIN_SRC emacs-lisp -(use-package nix-mode) +(use-package nix-mode + :config + (progn + (setq nix-indent-function 'nix-indent-line))) #+END_SRC *** clojure The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877bea582fed72bbca0dc1f80fcb2ec0e6d5/layers/+lang/clojure/funcs.el#L30][spacemacs]]. It adds fancification to a clojure mode.