return { recommended = { ft = { "elm" }, root = { "elm.json" }, }, { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) if type(opts.ensure_installed) == "table" then vim.list_extend(opts.ensure_installed, { "elm" }) end end, }, { "williamboman/mason.nvim", opts = function(_, opts) opts.ensure_installed = opts.ensure_installed or {} vim.list_extend(opts.ensure_installed, { "elm-format" }) end, }, { "stevearc/conform.nvim", optional = true, opts = { formatters_by_ft = { elm = { "elm_format" }, }, }, }, { "neovim/nvim-lspconfig", opts = { servers = { elmls = {}, }, }, }, }