From 58a6acbb7f9f27065c334f32e982bb98e45615eb Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 30 Nov 2022 16:27:43 -0900 Subject: [PATCH] Add nlinum to `turn-off-line-numbers` --- lisp/mitch-defuns.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/mitch-defuns.el b/lisp/mitch-defuns.el index f838f00..8f95e20 100644 --- a/lisp/mitch-defuns.el +++ b/lisp/mitch-defuns.el @@ -148,7 +148,11 @@ For use in hooks." (if (fboundp #'linum-mode) (linum-mode -1)) (if (fboundp #'linum-relative-mode) - (linum-relative-mode -1))) + (linum-relative-mode -1)) + (if (fboundp #'nlinum-mode) + (nlinum-mode -1)) + (if (fboundp #'nlinum-relative-mode) + (nlinum-relative-mode -1))) (defun mitch/terminal-setup () "A batch of commands to run when opening anything that looks like a terminal.