Skip to content

Commit

Permalink
feat: add language-server-bitbake support
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin4747 committed Apr 23, 2024
1 parent ed8b8a1 commit d24dc12
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lua/lspconfig/server_configurations/bitbake_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'language-server-bitbake', '--stdio' },
filetypes = { 'bitbake' },
root_dir = util.find_git_ancestor,
single_file_support = false,
},
docs = {
description = [[
npm install -g language-server-bitbake
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}

0 comments on commit d24dc12

Please sign in to comment.