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

FEAT: add support for GH actions Language server #506

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

comatory
Copy link

@comatory comatory commented Jan 9, 2025

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.

Adds support for Github Actions.
Copy link

@disrupted disrupted left a 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

edit: neovim/nvim-lspconfig#3551

@comatory comatory requested a review from disrupted January 9, 2025 11:36
@comatory comatory requested a review from disrupted January 13, 2025 09:25
Copy link

@disrupted disrupted left a 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

README.md Outdated Show resolved Hide resolved
Co-authored-by: Salomon Popp <[email protected]>
@comatory comatory requested a review from disrupted January 13, 2025 10:43
@@ -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" },
Copy link

@disrupted disrupted Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["yaml.github"] = { "gh_actions_ls", "yamlls" },

now that the filetype has been changed upstream to yaml we should also update it here

Copy link
Author

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.

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.

Copy link
Author

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?

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

Successfully merging this pull request may close these issues.

2 participants