[ADD] xml server configs
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
return {
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
-- python = { "ruff" },
|
||||
python = { "black" },
|
||||
javascript = { "biome" },
|
||||
go = {'goimports', 'gofumpt'}
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"mason.nvim",
|
||||
},
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
python = { "black" },
|
||||
javascript = { "biome" },
|
||||
go = { "goimports", "gofumpt" },
|
||||
xml = { "lemminx" },
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"mason.nvim",
|
||||
},
|
||||
}
|
||||
|
||||
22
lua/plugins/langs/xml_json_html/nvim-lspconfig.lua
Normal file
22
lua/plugins/langs/xml_json_html/nvim-lspconfig.lua
Normal 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
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user