Skip to content

Commit dd5f2f5

Browse files
committed
feat: gh-actions-language-server
1 parent 8815752 commit dd5f2f5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
local util = require 'lspconfig.util'
2+
3+
return {
4+
default_config = {
5+
cmd = { 'gh-actions-language-server', '--stdio' },
6+
filetypes = { 'yaml.github' },
7+
root_dir = util.root_pattern('.github', '.git'),
8+
single_file_support = true,
9+
},
10+
docs = {
11+
description = [[
12+
https://github.com/lttb/gh-actions-language-server
13+
14+
Language server for GitHub Actions.
15+
16+
`gh-actions-language-server` can be installed via `npm`:
17+
18+
```sh
19+
npm install -g gh-actions-language-server
20+
```
21+
]],
22+
},
23+
}

0 commit comments

Comments
 (0)