Update configuration

This commit is contained in:
Fraser Fewster 2025-10-01 22:01:58 +01:00 committed by Fraser Fewster
parent 3338d39206
commit aa0432684f
7 changed files with 143 additions and 8 deletions

View file

@ -0,0 +1,31 @@
return {
{
'williamboman/mason.nvim',
opts = function(_, opts)
-- Ensure these tools are installed
opts.ensure_installed = opts.ensure_installed or {}
local ensure_installed = {
'ts_ls',
'biome',
'docker_compose_language_service',
'dockerls',
'graphql',
'jsonls',
'sqlls',
'yamlls',
'eslint',
'bashls',
}
-- Merge with existing ensure_installed if any
for _, tool in ipairs(ensure_installed) do
if not vim.tbl_contains(opts.ensure_installed, tool) then
table.insert(opts.ensure_installed, tool)
end
end
return opts
end,
},
}