aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshton Wiersdorf <mail@wiersdorf.dev>2023-09-01 13:59:45 -0600
committerAshton Wiersdorf <mail@wiersdorf.dev>2023-09-01 13:59:45 -0600
commitea526ab888fe8c2378ddf88fcfb43770ac033212 (patch)
treed22c1254c6b9185495221eab1632834043ae23fd
parent357f381140ab86488c2aa463211784df286ea4fe (diff)
Set a minimum width for the line numbers
-rw-r--r--init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index edbbde8..cb03e46 100644
--- a/init.el
+++ b/init.el
@@ -154,6 +154,7 @@ If the new path's directories does not exist, create them."
;; Display line numbers in programming mode
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
+(setq-default display-line-numbers-width 3) ; Set a minimum width
;; Nice line wrapping when working with text
(add-hook 'text-mode-hook 'visual-line-mode)