Skip to content

Commit

Permalink
fixed #1070 line number missing when switching between buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Nov 12, 2024
1 parent 0673ea8 commit 9ae587f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/init-linum-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(unless (or (memq major-mode my-linum-inhibit-modes)
;; don't show line number for certain file extensions
(my-should-use-minimum-resource))
(my-run-with-idle-timer 0.5 #'display-line-numbers-mode)))
(display-line-numbers-mode)))

(add-hook 'prog-mode-hook #'my-setup-line-number-mode)
;; (add-hook 'text-mode-hook #'my-setup-line-number-mode)
Expand Down

0 comments on commit 9ae587f

Please sign in to comment.