From 937e6f7a11246c71aba41dd95322919b09f2af05 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 14 Dec 2022 22:33:30 -0900 Subject: [PATCH] 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 --- lisp/mitch-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 2e20ced..8a8d0eb 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -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