kak: prettier para svelte
This commit is contained in:
parent
f2a5ca75a2
commit
62f2beacbc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue