Skip to content

Commit

Permalink
doc(gh_actions_ls): add section about forgejo and gitea compatibility…
Browse files Browse the repository at this point in the history
… to gh_actions_ls.lua
  • Loading branch information
Crashdummyy committed Jan 20, 2025
1 parent 82d24e8 commit 617d55e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 0 additions & 6 deletions doc/configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4116,12 +4116,6 @@ Default config:
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/gh_actions_ls.lua:4](../lua/lspconfig/configs/gh_actions_ls.lua#L4)
- `single_file_support` : `false`

### Compatibility with forgejo/gitea

The projects [forgejo](https://forgejo.org/) and [gitea](https://about.gitea.com/)
design their actions to be as compatible to github as possible.
There are only [a few differences](https://docs.gitea.com/usage/actions/comparison#unsupported-workflows-syntax) between the systems.
The `gh_actions_ls` is therefore enabled for those `yaml` files as well.

## ghcide

Expand Down
7 changes: 6 additions & 1 deletion lua/lspconfig/configs/gh_actions_ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ https://github.com/lttb/gh-actions-language-server
Language server for GitHub Actions.
`gh-actions-language-server` can be installed via `npm`:
The projects [forgejo](https://forgejo.org/) and [gitea](https://about.gitea.com/)
design their actions to be as compatible to github as possible
with only [a few differences](https://docs.gitea.com/usage/actions/comparison#unsupported-workflows-syntax) between the systems.
The `gh_actions_ls` is therefore enabled for those `yaml` files as well.
The `gh-actions-language-server` can be installed via `npm`:
```sh
npm install -g gh-actions-language-server
Expand Down

0 comments on commit 617d55e

Please sign in to comment.