I have the following in my init.el,
(setq-default display-line-numbers 'visual) (global-display-line-numbers-mode 1)
which should give me relative line numbering. On starting emacs, it does on the startup page, but as soon as I switch to another file, the
display-line-numbers variable is overriden to
t, which removes relative line numbering. I am confused, as I thought that setting
setq-default would ensure that new buffers would default to
visual. Or is there something else going on that I am missing?