2024-01-13 23:13:31 +00:00
|
|
|
return {
|
2024-01-13 23:19:31 +00:00
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
config = function()
|
|
|
|
require("mason").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"williamboman/mason-lspconfig.nvim",
|
|
|
|
config = function()
|
|
|
|
require("mason-lspconfig").setup({
|
|
|
|
ensure_installed = { "lua_ls", "texlab", "clangd", "pylsp" },
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
config = function()
|
|
|
|
local lspconfig = require("lspconfig")
|
|
|
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
|
|
|
lspconfig.lua_ls.setup({
|
|
|
|
capabilities = capabilities,
|
|
|
|
})
|
|
|
|
lspconfig.texlab.setup({
|
|
|
|
capabilities = capabilities,
|
|
|
|
})
|
|
|
|
lspconfig.clangd.setup({
|
|
|
|
capabilities = capabilities,
|
|
|
|
})
|
|
|
|
lspconfig.pylsp.setup({
|
|
|
|
capabilities = capabilities,
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
2024-01-13 23:13:31 +00:00
|
|
|
}
|