Skip to content

Commit 6168237

Browse files
authored
feat(bitbake): add language-server-bitbake support (#3199)
Add default config for `language-server-bitbake`, the Yocto Project's official language server for bit bake.
1 parent 92166b8 commit 6168237

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
local util = require 'lspconfig.util'
2+
3+
return {
4+
default_config = {
5+
cmd = { 'language-server-bitbake', '--stdio' },
6+
filetypes = { 'bitbake' },
7+
root_dir = util.find_git_ancestor,
8+
single_file_support = false,
9+
},
10+
docs = {
11+
description = [[
12+
https://github.com/yoctoproject/vscode-bitbake/tree/staging/server
13+
https://www.npmjs.com/package/language-server-bitbake
14+
15+
Official Bitbake Language Server for the Yocto Project.
16+
17+
Can be installed from npm or github.
18+
19+
```
20+
npm install -g language-server-bitbake
21+
```
22+
]],
23+
default_config = {
24+
root_dir = [[util.find_git_ancestor]],
25+
},
26+
},
27+
}

0 commit comments

Comments
 (0)