Replace nlinum with linum

This commit is contained in:
Henrik Lissner 2017-05-13 22:39:50 +02:00
parent 7713cdb0bd
commit 5491fd552e
7 changed files with 19 additions and 36 deletions

View file

@ -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 ()