kak: user rustfmt to format

This commit is contained in:
lelgenio 2022-02-18 22:47:28 -03:00
parent 63b8e37b35
commit 637227380b
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ hook global WinSetOption filetype=c %{
set buffer formatcmd 'clang-format'
}
hook global BufCreate .*\.rs %{
set buffer formatcmd 'rustfmt'
}
hook global BufCreate .*\.html %{
set buffer formatcmd 'prettier --parser html'
}