Update lemminx config

This commit is contained in:
2023-09-09 04:27:17 +02:00
parent d41487a0b1
commit 34957ea6d0
+12 -6
View File
@@ -30,13 +30,19 @@ return {
settings = { settings = {
xml = { xml = {
format = { format = {
splitAttributes = true, enabled = true, -- is able to format document
joinCDATALines = false, splitAttributes = false, -- each attribute is formatted onto new line
joinContentLines = true, joinCDATALines = false, -- normalize content inside CDATA
joinCommentLines = false, joinCommentLines = false, -- normalize content inside comments
spaceBeforeEmptyCloseLine = false, formatComments = true, -- keep comment in relative position
enabled = true, joinContentLines = false, -- normalize content inside elements
spaceBeforeEmptyCloseLine = true, -- insert whitespace before self closing tag end bracket
}, },
validation = {
noGrammar = "hint",
enabled = true,
schema = true,
}
}, },
}, },
}, },