Use settings from .editorconfig file (#1008)
When an .editorconfig file is present in the project, it should be used.
This commit is contained in:
parent
252f42833e
commit
7b4fdcaa0d
2 changed files with 5 additions and 0 deletions
|
@ -431,6 +431,10 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
|
||||||
(string-to-number (or (match-string 3 name) ""))))
|
(string-to-number (or (match-string 3 name) ""))))
|
||||||
fn))) files)))
|
fn))) files)))
|
||||||
|
|
||||||
|
;; use settings from .editorconfig file when present
|
||||||
|
(require 'editorconfig)
|
||||||
|
(editorconfig-mode 1)
|
||||||
|
|
||||||
(provide 'prelude-editor)
|
(provide 'prelude-editor)
|
||||||
|
|
||||||
;;; prelude-editor.el ends here
|
;;; prelude-editor.el ends here
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
diff-hl
|
diff-hl
|
||||||
diminish
|
diminish
|
||||||
easy-kill
|
easy-kill
|
||||||
|
editorconfig
|
||||||
epl
|
epl
|
||||||
expand-region
|
expand-region
|
||||||
flycheck
|
flycheck
|
||||||
|
|
Loading…
Reference in a new issue