summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-02 20:21:54 +0200
committerAlan Pearce2023-04-02 20:21:54 +0200
commit644172e81b7a484a520cf07a43ae6f4f726861db (patch)
tree240e08da3aad78422a178115d85a5c67b4188daa /user
parentc56b6b73136001836127876c5de716bab4a3a7ee (diff)
downloadnixfiles-644172e81b7a484a520cf07a43ae6f4f726861db.tar.lz
nixfiles-644172e81b7a484a520cf07a43ae6f4f726861db.tar.zst
nixfiles-644172e81b7a484a520cf07a43ae6f4f726861db.zip
emacs: always show four-digit line-numbers
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 530eec90..b6162b76 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -128,7 +128,8 @@
 (add-to-list 'default-frame-alist '(width . 100))
 (add-to-list 'default-frame-alist '(height . 40))
 (setq-default display-line-numbers 'relative
-              display-line-numbers-widen t)
+              display-line-numbers-widen t
+              display-line-numbers-width 4)
 (setq frame-resize-pixelwise t)
 
 (defun noct-relative ()