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:
parent
b464822f1b
commit
fa6396405e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user