diff --git a/rc/filetype/rust.kak b/rc/filetype/rust.kak index b11c9da6..f32264ee 100644 --- a/rc/filetype/rust.kak +++ b/rc/filetype/rust.kak @@ -90,4 +90,6 @@ hook global WinSetOption filetype=rust %[ # Configuration # ‾‾‾‾‾‾‾‾‾‾‾‾‾ -set window formatcmd 'rustfmt' +hook global WinSetOption filetype=rust %[ + set window formatcmd 'rustfmt' +]