36 lines
732 B
Lua
36 lines
732 B
Lua
return {
|
|
{
|
|
"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,
|
|
},
|
|
}
|