Line numbers affect text indent

Hi, I’ve moved my config from WSL on windows to an actual Ubuntu install, and now the width of the line number affects the indentation of text in the buffer - so when I’m in relative line number mode and I move the cursor down the buffer, there’s constant shiftimg back and forth of lines - sine the line I’m currently on has its actual number (e.g 310) and the lines all around have much lower numbers with less digits…

I have the following in my config (though I don’t imagine it matters much):

(custom-theme-set-faces 'user
                        `(line-number ((t (:inherit default :foreground "#6599bf" :strike-through nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "ADBO" :family "Source Code Pro"))))
                        ;; `(line-number ((t (:inherit default :foreground "#3f444a" :strike-through nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "ADBO" :family "Source Code Pro"))))
                        `(line-number-current-line ((t (:inherit (hl-line default) :foreground "#bbc2cf" :strike-through nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "ADBO" :family "Source Code Pro"))))
)

System information


Loading data dump...