aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-13 12:29:23 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-13 12:29:23 +0000
commit20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5 (patch)
tree6fcf359518b13838a775e303f48c525583664e6f /doc
parentfeat(gh_actions_ls): add `vim.lsp.config` support #3713 (diff)
downloadnvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar.gz
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar.bz2
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar.lz
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar.xz
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.tar.zst
nvim-lspconfig-20502c653fe2cc31c1dd40be53b7dfa79ca9f8f5.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md49
-rw-r--r--doc/configs.txt47
2 files changed, 96 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 410e93f1..24391f50 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -102,6 +102,7 @@ Nvim by running `:help lspconfig-all`.
- [futhark_lsp](#futhark_lsp)
- [gdscript](#gdscript)
- [gdshader_lsp](#gdshader_lsp)
+- [gh_actions_ls](#gh_actions_ls)
- [ghcide](#ghcide)
- [ghdl_ls](#ghdl_ls)
- [ginko_ls](#ginko_ls)
@@ -3899,6 +3900,54 @@ Default config:
---
+## gh_actions_ls
+
+https://github.com/lttb/gh-actions-language-server
+
+Language server for GitHub Actions.
+
+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
+```
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.gh_actions_ls.setup{}
+```
+
+Default config:
+- `capabilities` :
+ ```lua
+ {
+ workspace = {
+ didChangeWorkspaceFolders = {
+ dynamicRegistration = true
+ }
+ }
+ }
+ ```
+- `cmd` :
+ ```lua
+ { "gh-actions-language-server", "--stdio" }
+ ```
+- `filetypes` :
+ ```lua
+ { "yaml" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".github/workflows", ".forgejo/workflows", ".gitea/workflows" }
+ ```
+
+---
+
## ghcide
https://github.com/digital-asset/ghcide
diff --git a/doc/configs.txt b/doc/configs.txt
index 6ee39934..44abddea 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -3475,6 +3475,53 @@ Default config:
------------------------------------------------------------------------------
+gh_actions_ls
+
+https://github.com/lttb/gh-actions-language-server
+
+Language server for GitHub Actions.
+
+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
+```
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('gh_actions_ls')
+
+
+Default config:
+- `capabilities` :
+ ```lua
+ {
+ workspace = {
+ didChangeWorkspaceFolders = {
+ dynamicRegistration = true
+ }
+ }
+ }
+ ```
+- `cmd` :
+ ```lua
+ { "gh-actions-language-server", "--stdio" }
+ ```
+- `filetypes` :
+ ```lua
+ { "yaml" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".github/workflows", ".forgejo/workflows", ".gitea/workflows" }
+ ```
+
+
+------------------------------------------------------------------------------
ghcide
https://github.com/digital-asset/ghcide