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

sml/col-number-format not respected when set #238

Open
JSpenced opened this issue Mar 27, 2019 · 0 comments
Open

sml/col-number-format not respected when set #238

JSpenced opened this issue Mar 27, 2019 · 0 comments

Comments

@JSpenced
Copy link

If I set sml/col-number-format to "". It isn't respected and still shows the column number as long as column-number-mode is enabled.

Actually, I am using total-lines packages so I set it like this:

(setq-default sml/col-number-format "")
(setq-default mode-line-front-space
              (append mode-line-front-space '((12 "/" (:eval (format "%d::%2d" total-lines (1+ (current-column))))))))

so I can get the total-lines next to the current column.

I get this if column-number-mode is enabled:
image

Ideally, I would be able to insert the total-lines after the current line but also enable and disable column-number-mode. But I don't think this is possible?

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

1 participant