always use rust-analyzer to format rust files

This commit is contained in:
lelgenio 2023-02-09 17:52:07 -03:00
parent 9e22487d19
commit 02141fa778

View file

@ -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'
}