branch: elpa/spacemacs-theme
commit 71bddf98da5ac651b7fe847f9f02c4c35ef1bd4e
Merge: 7900aca87f 8cf00e74ae
Author: Nasser Alshammari <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #90 from chasinglogic/emacs-26
    
    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))))
 

Reply via email to