Closed joonro closed 9 years ago
is commit b4162ba what yout want ?
Thank you so much for the quick reply. It is, but I think linum-relative-on
should check if (eq linum-format 'linum-relative)
first - a user can do linum-relative-on
while linum-format
is linum-relative
and that will (setq linum-format 'linum-relative)
.
Fixes in f205dba Thanks :)
Hi,
I'm using Evil mode and I want to turn on linum-relative when I'm in the normal state, and turn it off wen I'm in the insert state. I'm using
linum-relative-toggle
as a hook, but it does not work precisely. Could you please providelinum-relative-on
andlinum-relative-off
so I can turn it on/off without ambiguity?Thank you so much!