Skip to content

Commit

Permalink
feat: add GitHub Actions language server
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 9, 2025
1 parent 8815752 commit 40699fa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lua/lspconfig/configs/gh_actions_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'gh-actions-language-server', '--stdio' },
filetypes = { 'yaml.github' },
root_dir = util.root_pattern('.github', '.git'),
single_file_support = true,
},
docs = {
description = [[
https://github.com/lttb/gh-actions-language-server
Language server for Github Actions.
`gh-actions-language-server` can be installed via `npm`:
```sh
npm install -g gh-actions-language-server
```
]],
},
}

0 comments on commit 40699fa

Please sign in to comment.