diff --git a/nvim/lua/plugins/mason.lua b/nvim/lua/plugins/mason.lua index e669482..6debd75 100644 --- a/nvim/lua/plugins/mason.lua +++ b/nvim/lua/plugins/mason.lua @@ -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{}