From 783b0ae5ada28cf8bec195e3248a9558a1c64076 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:22:31 -0400 Subject: Fix usage of `display-line-numbers-mode` --- init.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index d195f5e..601f8ea 100644 --- a/init.el +++ b/init.el @@ -448,15 +448,15 @@ ;; Display line/column numbers (column-number-mode) -(global-display-line-numbers-mode t) +(add-hook 'prog-mode-hook 'display-line-numbers-mode) ;; Disable line numbers in specific modes -(dolist (mode '(org-mode-hook - org-agenda-mode-hook - helpful-mode-hook - term-mode-hook - vterm-mode-hook)) - (add-hook mode (lambda () (display-line-numbers-mode 0)))) +;; (dolist (mode '(org-mode-hook + ;; org-agenda-mode-hook + ;; helpful-mode-hook + ;; term-mode-hook + ;; vterm-mode-hook)) + ;; (add-hook mode (lambda () (display-line-numbers-mode 0)))) ;; Customize appearance of line-numbers (set-face-attribute 'line-number nil -- cgit v1.2.3