diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 9ce274a..776d136 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -29,7 +29,7 @@ colorscheme grayscale-superiority # } # hook global KakEnd .* lsp-exit -hook global WinSetOption filetype=(javascript|typescript|json|css|html) %{ +hook global WinSetOption filetype=(javascript|typescript|json|css) %{ set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile } hook buffer BufWritePre .* format-buffer }