Adding bashls to lsp config
This commit is contained in:
parent
7e371697d9
commit
ac112f878c
@ -30,6 +30,7 @@ return {
|
||||
"ansiblels",
|
||||
"terraformls",
|
||||
"pylsp",
|
||||
"bashls",
|
||||
},
|
||||
handlers = {
|
||||
function(server_name) -- default handler (optional)
|
||||
@ -80,6 +81,14 @@ return {
|
||||
})
|
||||
end,
|
||||
|
||||
["bashls"] = function ()
|
||||
local lspconfig = require("lspconfig")
|
||||
lspconfig["bashls"].setup({
|
||||
cmd = { "bash-language-server", "start" },
|
||||
filetypes = { 'bash', 'sh' },
|
||||
single_file_support = false,
|
||||
})
|
||||
end,
|
||||
|
||||
["lua_ls"] = function()
|
||||
local lspconfig = require("lspconfig")
|
||||
|
Loading…
x
Reference in New Issue
Block a user