aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-08-25 23:12:42 -0500
committerJesús <heckyel@hyperbola.info>2018-08-25 23:12:42 -0500
commitf18582dfd2195982aa14b7ab081f92d580e7f084 (patch)
tree9784f4e6de9db181af65e5543b3f58d4c13e26e9
parent9a17b1ed69bd03449a7ded7fe96bd43092a4684e (diff)
downloademacs-personal-f18582dfd2195982aa14b7ab081f92d580e7f084.tar.lz
emacs-personal-f18582dfd2195982aa14b7ab081f92d580e7f084.tar.xz
emacs-personal-f18582dfd2195982aa14b7ab081f92d580e7f084.zip
Added tool editorconfig
-rw-r--r--custom.el2
-rw-r--r--init.el1
-rw-r--r--lisp/init-editorconfig.el8
3 files changed, 10 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index d6f6621..c76af7d 100644
--- a/custom.el
+++ b/custom.el
@@ -11,7 +11,7 @@
'(anzu-search-threshold 1000)
'(package-selected-packages
(quote
- (whitespace-cleanup-mode rainbow-mode scss-mode sass-mode less-css-mode ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes))))
+ (editorconfig whitespace-cleanup-mode rainbow-mode scss-mode sass-mode less-css-mode ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
diff --git a/init.el b/init.el
index 0003a19..3cf0d87 100644
--- a/init.el
+++ b/init.el
@@ -37,6 +37,7 @@
;; Tools
(require 'init-flycheck)
(require 'init-whitespace)
+(require 'init-editorconfig)
;; Languages
(require 'init-ccc)
(require 'init-markdown)
diff --git a/lisp/init-editorconfig.el b/lisp/init-editorconfig.el
new file mode 100644
index 0000000..b235b30
--- /dev/null
+++ b/lisp/init-editorconfig.el
@@ -0,0 +1,8 @@
+;;----------------------------------------------------------------------------
+;; EditorConfig
+;;----------------------------------------------------------------------------
+(require-package 'editorconfig)
+
+(editorconfig-mode 1)
+
+(provide 'init-editorconfig)