From 3fe51a5a87a2ceda9c5d5bb952f5d732e7b03da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 8 Jul 2021 14:40:58 -0500 Subject: [PATCH] Enable editorconfig package --- custom.el | 2 +- init.el | 2 +- modules/init-editorconfig.el | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/custom.el b/custom.el index 61117e2..532a366 100644 --- a/custom.el +++ b/custom.el @@ -9,7 +9,7 @@ '(anzu-replace-to-string-separator " => ") '(anzu-search-threshold 1000) '(package-selected-packages - '(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree smartparens sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nginx-mode neotree markdown-mode log4j-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides go-mode gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy dotenv-mode doom-themes doom-modeline dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu dockerfile-mode))) + '(editorconfig git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree smartparens sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nginx-mode neotree markdown-mode log4j-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides go-mode gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy dotenv-mode doom-themes doom-modeline dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu dockerfile-mode))) (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 66dcf0d..2d989c3 100644 --- a/init.el +++ b/init.el @@ -91,7 +91,7 @@ (require 'init-emmet-mode) (require 'init-nginx) (require 'init-git) - ;;(require 'init-editorconfig nil 'noerror) + (require 'init-editorconfig) ;; Languages (require 'init-ccc) (require 'init-crystal) diff --git a/modules/init-editorconfig.el b/modules/init-editorconfig.el index c8466b8..0ac6121 100644 --- a/modules/init-editorconfig.el +++ b/modules/init-editorconfig.el @@ -7,6 +7,7 @@ ;; EditorConfig ;;---------------------------------------------------------------------------- (use-package editorconfig + :ensure t :config (when (and (require 'editorconfig nil t) (fboundp 'editorconfig-mode))