aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-11-10 22:58:18 +0100
committerAdrian Kummerlaender2020-11-10 22:58:18 +0100
commitb0d1648495c19a5690a080175d41b93e5b6ee169 (patch)
treea8d22730baef9562ad71efcec58a95d26bf91080
parent74e9de25e5d7661a86f7ef0e18a58cb04dcc4d38 (diff)
downloadnixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar.gz
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar.bz2
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar.lz
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar.xz
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.tar.zst
nixos_home-b0d1648495c19a5690a080175d41b93e5b6ee169.zip
Add editorconfig, whitespace highlighting to Emacs
-rw-r--r--gui/conf/init.el7
-rw-r--r--gui/conf/metakr.org5
2 files changed, 12 insertions, 0 deletions
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