nvim: Add settings for HTML luangage server
This commit is contained in:
parent
9c9ba1baad
commit
47e71f7f16
1 changed files with 19 additions and 1 deletions
|
@ -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{}
|
||||
|
|
Loading…
Add table
Reference in a new issue