nvim/lua/plugins/mason.lua

46 lines
962 B
Lua
Raw Normal View History

2024-07-11 15:32:22 +05:30
-- Customize Mason plugins
---@type LazySpec
return {
2024-07-13 21:59:24 +05:30
-- use mason-lspconfig to configure LSP installations
{
"williamboman/mason-lspconfig.nvim",
-- overrides `require("mason-lspconfig").setup(...)`
opts = {
ensure_installed = {
"lua_ls",
2024-09-15 21:55:18 +05:30
"ts_ls",
2024-07-15 14:19:03 +05:30
"gopls",
2024-09-15 21:55:18 +05:30
"yamlls",
"jsonls",
2024-07-25 23:48:30 +05:30
"tailwindcss",
2024-09-15 21:55:18 +05:30
"eslint",
2024-07-13 21:59:24 +05:30
-- add more arguments for adding more language servers
},
},
},
-- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
{
"jay-babu/mason-null-ls.nvim",
-- overrides `require("mason-null-ls").setup(...)`
opts = {
ensure_installed = {
"stylua",
"prettier",
-- add more arguments for adding more null-ls sources
},
},
},
{
"jay-babu/mason-nvim-dap.nvim",
-- overrides `require("mason-nvim-dap").setup(...)`
2024-08-27 20:26:51 +05:30
enabled = false,
2024-07-13 21:59:24 +05:30
opts = {
ensure_installed = {
2024-09-15 21:55:18 +05:30
"typescript",
2024-07-13 21:59:24 +05:30
-- add more arguments for adding more debuggers
},
},
},
2024-07-11 15:32:22 +05:30
}