actually _actually_ really truly refresh line numbers this time

i swear please just end this nightmare already

it's one line in vim and i have poured countless hours into re-implementing this
one tiny feature in emacs oh kamisama why
This commit is contained in:
MitchMarq42 2022-12-14 22:33:30 -09:00
parent ccb38d300f
commit 937e6f7a11

View File

@ -369,7 +369,7 @@ targets."
str)))
(setq-local nlinum--width (length (number-to-string
(line-number-at-pos (point-max))))))
(add-hook 'focus-in-hook #'mitch/nlinum-buffer-setup))
(add-hook 'minibuffer-exit-hook #'mitch/nlinum-buffer-setup))
;; broken terminal that doesn't compile but at least it's fast when it does
(elpaca-use-package vterm