kak: html prettier

This commit is contained in:
Cat /dev/Nulo 2022-12-20 13:35:21 -03:00
parent 941ddb9577
commit 57be9fa2b0

View file

@ -46,7 +46,7 @@ hook global KakEnd .* lsp-exit
# Formateadores
# ------------
hook global WinSetOption filetype=(javascript|typescript|json|css|svelte) %{
hook global WinSetOption filetype=(javascript|typescript|json|css|svelte|html) %{
set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile }
hook buffer BufWritePre .* format-buffer
}