Update configuration
This commit is contained in:
parent
3338d39206
commit
aa0432684f
7 changed files with 143 additions and 8 deletions
31
lua/custom/plugins/masonconfig.lua
Normal file
31
lua/custom/plugins/masonconfig.lua
Normal 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,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue