mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Replace nlinum with linum
This commit is contained in:
@ -200,7 +200,7 @@ for function signatures or notes. Run again to clear the header line."
|
||||
(interactive "r")
|
||||
(setq header-line-format
|
||||
(when mark-active
|
||||
(concat (propertize (format nlinum-format (line-number-at-pos beg))
|
||||
(concat (propertize (format linum-format (line-number-at-pos beg))
|
||||
'face 'font-lock-comment-face)
|
||||
(let ((content (buffer-substring beg end)))
|
||||
(setq content (replace-regexp-in-string "\n" " " content t t))
|
||||
|
@ -10,10 +10,10 @@
|
||||
'fullboth)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/toggle-line-numbers ()
|
||||
"Toggle `nlinum-mode'."
|
||||
(interactive)
|
||||
(nlinum-mode (if nlinum-mode -1 +1)))
|
||||
(defun doom/toggle-line-numbers (&optional arg)
|
||||
"Toggle `linum-mode'."
|
||||
(interactive "P")
|
||||
(linum-mode (or arg (if linum-mode -1 +1))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/window-zoom ()
|
||||
|
Reference in New Issue
Block a user