Use settings from .editorconfig file (#1008)

When an .editorconfig file is present in the project, it should be
used.
This commit is contained in:
Jan Ehrhardt 2017-01-04 00:07:37 +01:00 committed by Bozhidar Batsov
parent 252f42833e
commit 7b4fdcaa0d
2 changed files with 5 additions and 0 deletions

View file

@ -431,6 +431,10 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
(string-to-number (or (match-string 3 name) ""))))
fn))) files)))
;; use settings from .editorconfig file when present
(require 'editorconfig)
(editorconfig-mode 1)
(provide 'prelude-editor)
;;; prelude-editor.el ends here

View file

@ -53,6 +53,7 @@
diff-hl
diminish
easy-kill
editorconfig
epl
expand-region
flycheck