From b0d1648495c19a5690a080175d41b93e5b6ee169 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 10 Nov 2020 22:58:18 +0100 Subject: Add editorconfig, whitespace highlighting to Emacs --- gui/conf/init.el | 7 +++++++ gui/conf/metakr.org | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/gui/conf/init.el b/gui/conf/init.el index bf5c309..240006a 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -49,6 +49,8 @@ (setq-default c-basic-offset 2) (setq-default python-indent-offset 4) +(setq whitespace-style '(face trailing tabs)) + (setq dabbrev-case-fold-search nil) (setq password-cache t) @@ -71,6 +73,11 @@ :config (gcmh-mode 1)) +(use-package editorconfig + :ensure t + :config + (editorconfig-mode 1)) + (use-package evil-leader :ensure t :init diff --git a/gui/conf/metakr.org b/gui/conf/metakr.org index ae00fde..4cd119a 100644 --- a/gui/conf/metakr.org +++ b/gui/conf/metakr.org @@ -90,6 +90,7 @@ For quick iteration all colors are stored in a table. | helm-header-bg | #161616 | | helm-source-header-fg | #161616 | | helm-source-header-bg | #909636 | +| whitespace-tab | #222222 | * Structure #+NAME: structure @@ -362,6 +363,10 @@ For quick iteration all colors are stored in a table. :background @helm-source-header-bg) (helm-selection :background @bg-hlt) + +;; Whitespace + (whitespace-tab + :background @whitespace-tab) ) #+END_SRC -- cgit v1.2.3