39 lines
873 B
Lua
39 lines
873 B
Lua
return {
|
|
{
|
|
"williamboman/mason.nvim",
|
|
config = function()
|
|
require("mason").setup({
|
|
ui = {
|
|
border = "rounded", -- Nice UI borders
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
dependencies = {
|
|
"williamboman/mason.nvim",
|
|
"neovim/nvim-lspconfig",
|
|
},
|
|
config = function()
|
|
local mason_lspconfig = require("mason-lspconfig")
|
|
|
|
mason_lspconfig.setup({
|
|
ensure_installed = {
|
|
-- "ts_ls", -- Typescript
|
|
-- "html", -- HTML
|
|
-- "cssls", -- CSS
|
|
-- "gopls", -- Go
|
|
-- "clangd", -- C++/C
|
|
-- "lua_ls", -- Lua
|
|
},
|
|
automatic_installation = true,
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig", -- Core LSP config
|
|
dependencies = { "williamboman/mason.nvim" },
|
|
},
|
|
}
|