Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line-number size #11

Open
JanPappert opened this issue Jun 15, 2016 · 2 comments
Open

Line-number size #11

JanPappert opened this issue Jun 15, 2016 · 2 comments

Comments

@JanPappert
Copy link

Hey,
currently line numbers do not fit the margin in lines with larger fonts (like org-mode headings).
It is possible to customize the face of the current line using customize-face RET nlinum-relative-...
but not the other line numbers.
Would be neat if we could set it to a constant height,
or,
increase margin-width based on the broadest occuring line-number.

Cheers

@xcodebuild
Copy link
Owner

In fact you can use (set-face-attribute 'linum nil :height 100) to have a constant height. But there is still some problem with org headline. This is about nlinum and I have no idea to fix now.

@JanPappert
Copy link
Author

Thanks. This eleviates the problem a little, but as you already said, there's still some inconsistencies with org headlines.

I also noticed while strolling through long org files that nlinum-relative occasionally doesn't show line numbers at all for for a couple of consecutive lines, however I was not yet able to identify a trend for when this occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants