nvim/lua/plugins/mason.lua
2025-04-09 22:22:12 +02:00

44 lines
892 B
Lua

return {
'williamboman/mason.nvim',
dependencies = {
'williamboman/mason-lspconfig.nvim',
'WhoIsSethDaniel/mason-tool-installer.nvim',
},
build = ':MasonUpdate',
branch = 'main',
config = function()
require('mason').setup({
ui = {
border = 'rounded',
},
})
require('mason-lspconfig').setup({
automatic_installation = false,
ensure_installed = {
'clangd',
'basedpyright',
-- 'neocmake',
'efm',
'lua_ls',
'jsonls',
'markdown_oxide',
},
})
require('mason-tool-installer').setup({
-- a list of all tools you want to ensure are installed upon
-- start
ensure_installed = {
'black',
'flake8',
'isort',
'prettier',
'stylua',
'gersemi',
'cmakelang',
'ruff',
},
})
end,
}