Skip autoformat for html

This commit is contained in:
Jan Eitzinger 2023-07-11 13:30:48 +02:00
parent 806dd9080f
commit 960c8a4f78
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@ README.md
LICENSE LICENSE
{{ if eq .chezmoi.os "darwin" }} {{ if eq .chezmoi.os "darwin" }}
.muttrc .muttrc
.msmtprc
.Xresources .Xresources
.xsession .xsession
.config/openbox/* .config/openbox/*

View File

@ -82,7 +82,11 @@ vim.api.nvim_create_autocmd('BufWritePre', {
end end
}) })
require("lsp-format").setup {} require("lsp-format").setup {
html = {
exclude = { "html" }
}
}
{{- if ne .chezmoi.os "openbsd" }} {{- if ne .chezmoi.os "openbsd" }}
local group = vim.api.nvim_create_augroup('lsp_cmds', { clear = true }) local group = vim.api.nvim_create_augroup('lsp_cmds', { clear = true })