-
Notifications
You must be signed in to change notification settings - Fork 14
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
Components do not render upon startup in JS files. #17
Comments
Hey! I'm not using this plugin anymore, but I can assist you in investigating this issue 😉 This plugin subscribes to the following ALE events:
So either ALE itself is not triggering these events when you first open As a workaround, I think you can also manually call lightline#update() in your vimrc 🙂 |
Thanks for helping out. Why do you no longer use this plugin? So there seems to be some new events added to ALE and I have added them to the auto command group. However, it didn't resolve the issue.
Calling I am not really sure where to go from here. I guess being able to automatically execute |
The reason I'm not using this plugin is because I switched from vim/nvim to kakoune. These events you mention are not new, it only makes sense to update lightline after lint or fix operation, not before. This is why additionally registering to these events it didn't solve the issue. Is the issue only reproducible for javascript files? It might be some issue in the ALE itself, try to create an issue on their side explaining why you expect that |
@superDross I still use this plugin daily. So I’ll take this issue from Maxim. But I promise no turn around time smaller than weeks-months. Just when I get on my next dotfile polishing session. I wonder if it happens with the python files I’m using too. |
When opening a JS file with a pre-existing error/warning the lightline-ale components do not render. However, when I intentionally make an error said components pop up and remain.
The below gif demonstrates this.
I am using eslint as a linter and tsserver as an LSP in ALE.
The text was updated successfully, but these errors were encountered: