Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nlinum-relative.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ nlinum-releative will show the real line number at current line."

;;;; Faces
(defface nlinum-relative-current-face
'((t :inherit linum :foreground "#CAE682" :background "#444444" :weight bold))
'((t :inherit line-number :foreground "#CAE682" :background "#444444" :weight bold))
"Face for displaying current line."
:group 'nlinum-relative)

Expand Down Expand Up @@ -78,7 +78,7 @@ nlinum-releative will show the real line number at current line."
(setq str (concat (make-string (- width (length str)) ?\ ) str)))
(if is-current-line?
(put-text-property 0 width 'face 'nlinum-relative-current-face str)
(put-text-property 0 width 'face 'linum str))
(put-text-property 0 width 'face 'line-number str))
str))
"nlinum-relative to replace nlinum-format-function")

Expand Down