Emacs: Run editorconfig-apply after dtrt-indent-mode.

This commit is contained in:
tastytea 2020-01-07 07:26:14 +01:00
parent 8d12681d1f
commit 6fdc5b523a
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-07T07:00:37+0100>
;; Time-stamp: <2020-01-07T07:24:36+0100>
;;; Commentary:
@ -23,7 +23,10 @@
;; Guess indentation and if spaces or tabs are to be used.
(use-package dtrt-indent
;; FIXME: Should run before whitespace-mode.
:after (editorconfig)
:hook
(dtrt-indent-mode . editorconfig-apply)
(prog-mode . dtrt-indent-mode)
)