From 478ce285a69874aa36dec709b5b5d846e1cf571d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 23 Jul 2015 01:31:58 +0200 Subject: [PATCH] Add highlight-indentation package --- core/core-ui.el | 7 +++++++ private/themes/narf/narf-dark-theme.el | 3 +++ 2 files changed, 10 insertions(+) diff --git a/core/core-ui.el b/core/core-ui.el index b1edc5630..d4155c6a9 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -41,6 +41,13 @@ "Prevent annoying \"Active processes exist\" query when you quit Emacs." (flet ((process-list ())) ad-do-it))) +(use-package highlight-indentation + :diminish highlight-indentation-mode + :config + (add-hook! (prog-mode scss-mode) + (unless (eq major-mode 'emacs-lisp-mode) + (highlight-indentation-mode 1)))) + (use-package nlinum ; line numbers :defer t :defines nlinum--width diff --git a/private/themes/narf/narf-dark-theme.el b/private/themes/narf/narf-dark-theme.el index 6ac4d786b..a60813ec9 100644 --- a/private/themes/narf/narf-dark-theme.el +++ b/private/themes/narf/narf-dark-theme.el @@ -88,6 +88,9 @@ `(whitespace-newline ((t (:foreground "#444444")))) `(whitespace-trailing ((t (:background "#553333")))) + `(highlight-indentation-face ((t (:background "#2f3641")))) + `(highlight-indentation-current-column-face ((t (:background ,gutter-light)))) + `(git-gutter+-modified ((t (:foreground ,git-modified :background nil)))) `(git-gutter+-added ((t (:foreground ,git-added :background nil)))) `(git-gutter+-deleted ((t (:foreground ,git-deleted :background nil))))