From 617d55e6e1e2c6f841a1424ce8f834e5bc28b700 Mon Sep 17 00:00:00 2001 From: Crashdummyy Date: Mon, 20 Jan 2025 20:56:31 +0100 Subject: [PATCH] doc(gh_actions_ls): add section about forgejo and gitea compatibility to gh_actions_ls.lua --- doc/configs.md | 6 ------ lua/lspconfig/configs/gh_actions_ls.lua | 7 ++++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/configs.md b/doc/configs.md index ca550fb358..597465762d 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -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 diff --git a/lua/lspconfig/configs/gh_actions_ls.lua b/lua/lspconfig/configs/gh_actions_ls.lua index 1cba15a897..8325e071b7 100644 --- a/lua/lspconfig/configs/gh_actions_ls.lua +++ b/lua/lspconfig/configs/gh_actions_ls.lua @@ -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