dotfiles/nvim/lua/plugins/mason.lua

32 lines
1.0 KiB
Lua

return {
'mason-org/mason.nvim',
config = function()
require('mason').setup()
require('mason-lspconfig').setup {
automatic_enable = true,
ensure_installed = {
-- Currently having issues with including some of the LSPs, even though they match the names in Mason
'ansiblels', -- Ansible
'arduino_language_server', -- Arduino specific C
'bashls', -- Bash
-- 'cfn-lint', -- Cloudformation for AWS
'clangd', -- C/C++
-- 'gdscript', -- Godot script
-- 'hadolint', -- Dockerfile linting
'intelephense', -- PHP
'lua_ls', -- Lua
'marksman', -- markdown
'pylsp', -- Python
'rust_analyzer', -- Rust
'ts_ls', -- Typscript
'yamlls', -- YAML
}
}
end,
dependencies = {
'mason-org/mason-lspconfig.nvim',
},
lazy = false,
}