rc rust: Don't set an arbitrary formatter

Users who want to use a formatter are free to pick a tool of their
choosing and set `formatcmd` in their user configuration.
This commit is contained in:
Frank LENORMAND 2019-11-11 14:20:26 +01:00
parent b464822f1b
commit fa6396405e

View File

@ -25,14 +25,6 @@ hook -group rust-highlight global WinSetOption filetype=rust %{
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/rust }
}
# Configuration
# ‾‾‾‾‾‾‾‾‾‾‾‾‾
hook global WinSetOption filetype=rust %{
set window formatcmd 'rustfmt'
}
provide-module rust %§
# Highlighters