Skip to content

Commit

Permalink
feat: add bitbake-language-server (#3151)
Browse files Browse the repository at this point in the history
* feat: add bitbake-language-server

* fix: styling

* fix: use find_git_ancestor

Co-authored-by: glepnir <glephunter@gmail.com>

---------

Co-authored-by: glepnir <glephunter@gmail.com>
  • Loading branch information
FredeEB and glepnir committed May 16, 2024
1 parent b24e96a commit 6a6a297
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lua/lspconfig/server_configurations/bitbake_language_server.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'bitbake-language-server' },
filetypes = { 'bitbake' },
root_dir = util.find_git_ancestor,
},
docs = {
description = [[
🛠️ bitbake language server
]],
},
}

0 comments on commit 6a6a297

Please sign in to comment.