1
0
Fork 0

nvim: Add settings for HTML luangage server

This commit is contained in:
coderkun 2024-12-02 15:23:51 +01:00
parent 9c9ba1baad
commit 47e71f7f16

View file

@ -25,7 +25,25 @@ return {
lspconfig.gradle_ls.setup{}
-- HTML
lspconfig.html.setup{}
lspconfig.html.setup{
settings = {
html = {
format = {
tabSize = 4,
insertSpaces = true,
indentEmptyLines = false,
indentInnerHtml = true,
wrapLineLength = 120,
wrapAttributes = 'preserve',
wrapAttributesIndentSize = 4,
preserveNewLines = true,
maxPreserveNewLines = 1,
indentScripts = "keep",
extraLiners = "",
},
},
}
}
-- JSON
lspconfig.jsonls.setup{}