re-indent nlinum

This commit is contained in:
MitchMarq42 2022-12-13 16:37:50 -09:00
parent b68798faef
commit 002d6ea259

View File

@ -373,7 +373,7 @@ targets."
(put-text-property 0 width 'face 'linum str))
str)))
(setq-local nlinum--width (length (number-to-string
(line-number-at-pos (point-max))))))
(line-number-at-pos (point-max))))))
(add-hook 'minibuffer-exit-hook #'mitch/nlinum-buffer-setup))
;; broken terminal that doesn't compile but at least it's fast when it does