kak: user rustfmt to format
This commit is contained in:
parent
63b8e37b35
commit
637227380b
|
@ -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'
|
||||
}
|
||||
|
|
Reference in New Issue