kak: html prettier
This commit is contained in:
parent
941ddb9577
commit
57be9fa2b0
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ hook global KakEnd .* lsp-exit
|
||||||
# Formateadores
|
# 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 }
|
set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile }
|
||||||
hook buffer BufWritePre .* format-buffer
|
hook buffer BufWritePre .* format-buffer
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue