1

Disable line numbers in scratch buffer by default

This commit is contained in:
Jessie Hildebrandt 2022-12-11 16:32:42 -05:00
parent 6289ebaa7a
commit 22f4322c8c

View File

@ -169,8 +169,10 @@
)) ))
;; Hooked Modes ;; Hooked Modes
(add-hook 'prog-mode-hook (lambda ()
(unless (derived-mode-p 'lisp-interaction-mode)
(display-line-numbers-mode)))) ; Display line numbers
(add-hook 'prog-mode-hook 'electric-pair-local-mode) ; Automatic delimiter pairing (add-hook 'prog-mode-hook 'electric-pair-local-mode) ; Automatic delimiter pairing
(add-hook 'prog-mode-hook 'display-line-numbers-mode) ; Display line numbers
;; Mode Configuration ;; Mode Configuration
(setq (setq