-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
FEAT: add support for GH actions Language server #506
base: main
Are you sure you want to change the base?
Conversation
Adds support for Github Actions.
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.
we need to open a PR for lspconfig as well
Co-authored-by: Salomon Popp <[email protected]>
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.
one nit, otherwise LGTM
Co-authored-by: Salomon Popp <[email protected]>
@@ -242,8 +242,9 @@ return { | |||
["yaml.ansible"] = { "ansiblels" }, | |||
["yaml.docker-compose"] = { "docker_compose_language_service", "yamlls" }, | |||
["yaml.gitlab"] = { "gitlab_ci_ls", "yamlls" }, | |||
["yaml.github"] = { "gh_actions_ls", "yamlls" }, |
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.
["yaml.github"] = { "gh_actions_ls", "yamlls" }, |
now that the filetype has been changed upstream to yaml
we should also update it here
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.
update how? the suggestion contains no changes.
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.
my bad, original answer updated. The LS needs to be registered for the regular yaml
filetype now.
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.
Wouldn't that be contrary to the advice given here?
Adds support for Github Actions.
Caution
I'm not familiar with the codebase and I've never added such configuration. I could use help on this one.
I tried looking at other PRs to see whether I'm doing it right.