rougier / nano-theme

GNU Emacs / N Λ N O Theme
GNU General Public License v3.0
358 stars 35 forks source link

`line-number-current-line` displays different than `line-number` #21

Closed maikol-solis closed 2 years ago

maikol-solis commented 2 years ago

In doom-emacs if you use the Zen mode (https://github.com/hlissner/doom-emacs/tree/master/modules/ui/zen), you get an annoying behavior with line-number-current-line because is bigger than line-number. The problem is related when you increase the font of all buffer.

This causes that every time you move in the buffer, the current line moves slightly to the right. Here there is a screenshot:

image

Best.

maikol-solis commented 2 years ago

I solve it with this

'(line-number-current-line :inherit nil))

image

rougier commented 2 years ago

Thanks for the report and the fix. Can you make a PR (or can do the fix)?