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

A string for the statusline #25

Closed
KabbAmine opened this issue Oct 3, 2016 · 4 comments
Closed

A string for the statusline #25

KabbAmine opened this issue Oct 3, 2016 · 4 comments

Comments

@KabbAmine
Copy link
Contributor

A function returning a string usable by the statusline will be very useful (like validator or syntastic does). Should we wait for a stable API before implementing it?

@w0rp
Copy link
Member

w0rp commented Oct 3, 2016

The plugin does now echo the error when you highlight a line. Do you want a function which returns the whole string for that?

@KabbAmine
Copy link
Contributor Author

I'm thinking about a function returning the number of issues, that the user can integrate into the statusline.
e.g. ale#getStatusLine() will return something like '5 errors' or maybe just '5'.

Syntastic provides even a way to customize the output:

syntastic_sl

@w0rp
Copy link
Member

w0rp commented Oct 3, 2016

Sounds interesting. I'll look into it at some point.

@w0rp
Copy link
Member

w0rp commented Oct 7, 2016

This is so close to completion, I'll get this included in 1.0, I think. It shouldn't delay anything.

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

No branches or pull requests

2 participants