增加xml

This commit is contained in:
chuyanlong 2025-09-08 16:04:57 +08:00
parent 0407055f5f
commit 703e81f811

View file

@ -0,0 +1,35 @@
return {
recommended = function()
return LazyVim.extras.wants({
ft = {
"xml",
"xhtml",
"svg",
"wsdl",
"xsl",
"xslt",
"xquery",
"xjb",
"xsd",
"xlf",
"xul",
},
})
end,
{
"nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "xml", "html" } },
},
{
"mason-org/mason.nvim",
opts = { ensure_installed = { "lemminx" } },
},
{
"neovim/nvim-lspconfig",
opts = function(_, opts)
vim.tbl_deep_extend("force", opts.servers, {
lemminx = {},
})
end,
},
}