diff options
author | Timo Wilken | 2022-12-18 22:32:21 +0100 |
---|---|---|
committer | Timo Wilken | 2022-12-18 22:32:50 +0100 |
commit | 5094c99383e6d8c81db0db435d0098c3a300e5eb (patch) | |
tree | 863aecbd6b85794f231f29a16dd335691d0d2cb9 /emacs-init.el | |
parent | 685b2ece44f1c55bb3f3d284f03df6396ef3b959 (diff) |
Replace linum with display-line-numbers
The latter is better, faster and supported by the catppuccin theme.
Diffstat (limited to 'emacs-init.el')
-rw-r--r-- | emacs-init.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs-init.el b/emacs-init.el index fe4dab87..2f4d1140 100644 --- a/emacs-init.el +++ b/emacs-init.el @@ -134,8 +134,11 @@ :after (evil) :bind (("<leader>tR" . rainbow-mode))) -(use-package linum - :hook prog-mode) +(use-package display-line-numbers + ;; Included in Emacs >= 26. Better than `linum-mode'. + ;; There is also `global-display-line-numbers-mode', but that also + ;; enables line numbers in help windows, which I don't want. + :hook (prog-mode conf-mode)) (use-package which-key :commands (which-key-mode) :demand t |