-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add ansible-language-server for yaml #7973
Conversation
Add ansible support to yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can fix the CI by running cargo xtask docgen
and commiting the changes
@the-mikedavis how can we get a 2nd approval here? It seems like this is the only thing thats missing here. |
Ansible language server does not appear to work, can someone confirm it does for them? Helix just says "language server exited". I am using the latest Helix master with this commit and also have yaml language server installed.
|
This is a bug in the a able language server (as the logs say). Maybe it works with newer versions |
@pascalkuthe I am using the latest version. @lwandrebeck It works for you? If so, which version? It should not be a default if it does not work! |
Works fine here on Rocky 9 with: Hope that helps |
@lwandrebeck Would you be able to build the latest Helix from Master and try again? I am thinking it is most likely that something has changed in Helix, namely the I am running Debian 12, the only real difference between Debian and Rocky for this case might be the version of NodeJS used. |
I can reproduce locally with node 18.18.0. It looks like an upstream problem where ansible-language-server doesn't handle the failed promise when it sends the |
|
A quick update. I’ve written most of the past day yaml files, and ansible completion worked flawlessly. I did not encounter the error above anymore, even with WIP files. There’s something fishy somewhere… |
I have filed an issue based on what @the-mikedavis reported above. If I made a mistake please can someone let me know and I will edit it. @lwandrebeck Please keep looking for the fishy behaviour, I am sure we can get this sorted :) |
I’ve done here and there some more ansible without problems. So I’m afraid I can’t help much on that point. Something new on your side ? |
They added my bug report to a list of things they will deal with 'in the next year', so other than that nothing. I don't use it much so am just going to forget about the problem and hope it is fixed eventually. |
* Update languages.toml Add ansible support to yaml. * cargo xtask docgen
* Update languages.toml Add ansible support to yaml. * cargo xtask docgen
* Update languages.toml Add ansible support to yaml. * cargo xtask docgen
* Update languages.toml Add ansible support to yaml. * cargo xtask docgen
Add ansible support to yaml.
If this PR is accepted, I’ll update wiki accordingly.