all repos — nixfiles @ 664350b7ac450e80d58507b6a178231047896de2

System and user configuration, managed by nix and home-manager

Emacs: Don’t guess indentation with editorconfig

Alan Pearce
commit

664350b7ac450e80d58507b6a178231047896de2

parent

e2bdfce5385f6c4fecb4a705064cae344df7c248

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -728,6 +728,8 @@ #+BEGIN_SRC emacs-lisp
(use-package dtrt-indent :config (progn (dtrt-indent-mode 1) + (add-hook 'editorconfig-custom-hooks (lambda () + (dtrt-indent-undo))) (defadvice dtrt-indent-try-set-offset (after toggle-smart-tabs activate) (smart-tabs-mode (or indent-tabs-mode -1))))) #+END_SRC