[ADD] xml server configs

This commit is contained in:
Daveanand Mannie
2025-10-17 23:49:31 -04:00
parent d2ca336b20
commit 0279fb89f6
3 changed files with 35 additions and 12 deletions

View File

@@ -20,6 +20,7 @@ require("lazy").setup({
{ import = "plugins" },
{ import = "plugins.langs.python" },
{ import = "plugins.langs.go" },
{ import = "plugins.langs.xml_json_html" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.

View File

@@ -2,10 +2,10 @@ return {
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
-- python = { "ruff" },
python = { "black" },
javascript = { "biome" },
go = {'goimports', 'gofumpt'}
go = { "goimports", "gofumpt" },
xml = { "lemminx" },
},
},
dependencies = {

View File

@@ -0,0 +1,22 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
lemminx = {
init_options = {
settings = {
xml = {
format = {
enabled = true,
splitAttributes = false,
},
validation = {
noGrammar = "ignore", -- This is correct
},
}
}
}
}
}
}
}