summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Li <legendre6891@users.noreply.github.com>2018-09-26 01:11:10 -0400
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-09-26 08:11:10 +0300
commit449bcd27a2cf14ba3d6aedff7513b32c439bde52 (patch)
tree834dd80fc9ac42e62695800117fd9c7b0f1eb3ae
parent3efa16ac9cbe6c1da40da5e9d340965451c8b60a (diff)
Support for line-numbers-mode (#311)
Emacs 26.1 introduced built-in line numbers via `display-line-numbers-mode`. This adds support for related faces.
-rw-r--r--zenburn-theme.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/zenburn-theme.el b/zenburn-theme.el
index f05ffa8..4a37750 100644
--- a/zenburn-theme.el
+++ b/zenburn-theme.el
@@ -212,6 +212,9 @@ Also bind `class' to ((class color) (min-colors 89))."
`(font-lock-warning-face ((t (:foreground ,zenburn-yellow-2 :weight bold))))
`(c-annotation-face ((t (:inherit font-lock-constant-face))))
+;;;;; line numbers (Emacs 26.1 and above)
+ `(line-number ((t (:foreground ,zenburn-bg+3 :background ,zenburn-bg-05))))
+ `(line-number-current-line ((t (:inherit line-number :foreground ,zenburn-yellow-2))))
;;;;; man
'(Man-overstrike ((t (:inherit font-lock-keyword-face))))
'(Man-underline ((t (:inherit (font-lock-string-face underline)))))