kak: prettier para svelte

This commit is contained in:
Cat /dev/Nulo 2022-12-09 16:22:44 -03:00
parent f2a5ca75a2
commit 62f2beacbc

View file

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