always use rust-analyzer to format rust files
This commit is contained in:
parent
9e22487d19
commit
02141fa778
|
@ -19,10 +19,6 @@ hook global WinSetOption filetype=nix %{
|
|||
set buffer formatcmd 'nixpkgs-fmt'
|
||||
}
|
||||
|
||||
hook global BufCreate .*\.rs %{
|
||||
set buffer formatcmd 'rustfmt'
|
||||
}
|
||||
|
||||
hook global BufCreate .*\.html %{
|
||||
set buffer formatcmd 'prettier --parser html'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue