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,6 +1,16 @@
return { return {
"mason-org/mason-lspconfig.nvim", "mason-org/mason-lspconfig.nvim",
opts = {}, opts = {
ensure_installed = {
"bashls",
"docker_compose_language_service",
"lua_ls",
"superhtml",
"taplo",
"pylsp",
"ansiblels"
},
},
dependencies = { dependencies = {
{ "mason-org/mason.nvim", opts = {} }, { "mason-org/mason.nvim", opts = {} },
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",

View File

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