Adding bashls to lsp config
This commit is contained in:
parent
7e371697d9
commit
ac112f878c
@ -30,6 +30,7 @@ return {
|
|||||||
"ansiblels",
|
"ansiblels",
|
||||||
"terraformls",
|
"terraformls",
|
||||||
"pylsp",
|
"pylsp",
|
||||||
|
"bashls",
|
||||||
},
|
},
|
||||||
handlers = {
|
handlers = {
|
||||||
function(server_name) -- default handler (optional)
|
function(server_name) -- default handler (optional)
|
||||||
@ -80,6 +81,14 @@ return {
|
|||||||
})
|
})
|
||||||
end,
|
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()
|
["lua_ls"] = function()
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user