1
0

Update LSP config

This commit is contained in:
2025-05-28 00:04:31 +01:00
parent d00f7f8cb1
commit 749d6a25f2
2 changed files with 23 additions and 13 deletions

View File

@@ -1,8 +1,18 @@
return {
"mason-org/mason-lspconfig.nvim",
opts = {},
dependencies = {
{ "mason-org/mason.nvim", opts = {} },
"neovim/nvim-lspconfig",
"mason-org/mason-lspconfig.nvim",
opts = {
ensure_installed = {
"bashls",
"docker_compose_language_service",
"lua_ls",
"superhtml",
"taplo",
"pylsp",
"ansiblels"
},
},
dependencies = {
{ "mason-org/mason.nvim", opts = {} },
"neovim/nvim-lspconfig",
},
}

View File

@@ -6,20 +6,20 @@ return {
opts = {
servers = {
lua_ls = {
autostart = true,
-- autostart = true,
settings = {
Lua = {
diagnostics = { globals = {'vim'} }
}
},
},
markdown_oxide = {},
terraformls = {},
superhtml = {},
pyright = {},
taplo = {},
bashls = {},
html = {},
-- markdown_oxide = {},
-- terraformls = {},
-- superhtml = {},
-- pyright = {},
-- taplo = {},
-- bashls = {},
-- html = {},
}
},
config = function(_, opts)