Skip to content

Make current line number scale with "text-scale-adjust"? #12

@alienbogart

Description

@alienbogart

I'm using your tip for relative line numbers from here, but it bothers me that the number for the current line does not scale with the other numbers when I use "text-scale-adjust." This creates an annoying mismatch on the current line. Here's how it looks in action: https://gfycat.com/WeepyMarriedInganue I think the line numbers are to blame because this doesn't happen without them.

Look how small the current line number becomes (it's "nil" in my case, so it's always zero)

small-current-line

It's also small if I use your function unaltered, with actual current line numbers.

I think making the current line number scale up could solve the issue, but I don't know how to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions