Add highlight-indentation package

This commit is contained in:
Henrik Lissner 2015-07-23 01:31:58 +02:00
parent 75cb69effc
commit 478ce285a6
2 changed files with 10 additions and 0 deletions

View file

@ -41,6 +41,13 @@
"Prevent annoying \"Active processes exist\" query when you quit Emacs." "Prevent annoying \"Active processes exist\" query when you quit Emacs."
(flet ((process-list ())) ad-do-it))) (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 (use-package nlinum ; line numbers
:defer t :defer t
:defines nlinum--width :defines nlinum--width

View file

@ -88,6 +88,9 @@
`(whitespace-newline ((t (:foreground "#444444")))) `(whitespace-newline ((t (:foreground "#444444"))))
`(whitespace-trailing ((t (:background "#553333")))) `(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+-modified ((t (:foreground ,git-modified :background nil))))
`(git-gutter+-added ((t (:foreground ,git-added :background nil)))) `(git-gutter+-added ((t (:foreground ,git-added :background nil))))
`(git-gutter+-deleted ((t (:foreground ,git-deleted :background nil)))) `(git-gutter+-deleted ((t (:foreground ,git-deleted :background nil))))