branch: elpa/spacemacs-theme
commit 8cf00e74aea15c592baf7107cc560397e5d5769e
Author: Mathew Robinson <[email protected]>
Commit: Mathew Robinson <[email protected]>
Add support for Emacs 26 display-line-numbers-mode
---
spacemacs-common.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 760d34dc30..a6fbdddf28 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -515,6 +515,10 @@ to 'auto, tags may not be properly aligned. "
;;;;; linum-mode
`(linum ((,class (:foreground ,lnum :background ,bg2))))
+;;;;; line-numbers-mode (Emacs 26+)
+ (when (>= emacs-major-version 26)
+ `(line-number ((,class (:foreground ,lnum :background ,bg2)))))
+
;;;;; linum-relative
`(linum-relative-current-face ((,class (:foreground ,comp))))