diff --git a/.config/nvim/lua/plugins/extras/lang/xml.lua b/.config/nvim/lua/plugins/extras/lang/xml.lua new file mode 100644 index 00000000..cecdd330 --- /dev/null +++ b/.config/nvim/lua/plugins/extras/lang/xml.lua @@ -0,0 +1,25 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts.ensure_installed) == "table" then + vim.list_extend(opts.ensure_installed, { "xml" }) + end + end, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + lemminx = {}, + }, + }, + }, + { + "williamboman/mason.nvim", + opts = function(_, opts) + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "lemminx" }) + end, + }, +}