This commit is contained in:
Belal Elsabbagh
2025-02-20 21:07:50 +02:00
parent 362316edb4
commit 7ea1f6b6f8
2 changed files with 21 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ return {
python = { 'ruff' }, python = { 'ruff' },
javascript = { 'biome', 'prettier', stop_after_first = true }, javascript = { 'biome', 'prettier', stop_after_first = true },
typescript = { 'biome', 'prettier', stop_after_first = true }, typescript = { 'biome', 'prettier', stop_after_first = true },
html = { 'prettier' },
css = { 'prettier' },
yaml = { 'prettier' }, yaml = { 'prettier' },
rust = { 'rustfmt', lsp_format = 'fallback' }, rust = { 'rustfmt', lsp_format = 'fallback' },
json = { 'biome', 'prettier', stop_after_first = true }, json = { 'biome', 'prettier', stop_after_first = true },

View File

@@ -91,6 +91,25 @@ return {
}, },
capabilities = capabilities, capabilities = capabilities,
}, },
html = {
filetypes = { 'html' },
capabilities = capabilities,
opts = {
settings = {
html = {
format = {
templating = true,
wrapLineLength = 120,
wrapAttributes = 'auto',
},
hover = {
documentation = true,
references = true,
},
},
},
},
},
biome = { biome = {
capabilities = capabilities, capabilities = capabilities,
}, },