Update lemminx config
This commit is contained in:
@@ -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,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user