From fa6396405ef08db39119598193fbc6a5aceb195c Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Mon, 11 Nov 2019 14:20:26 +0100 Subject: [PATCH] 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. --- rc/filetype/rust.kak | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rc/filetype/rust.kak b/rc/filetype/rust.kak index 61b15483..501291d7 100644 --- a/rc/filetype/rust.kak +++ b/rc/filetype/rust.kak @@ -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