diff --git a/rc/filetype/rust.kak b/rc/filetype/rust.kak index 9cbca842..b11c9da6 100644 --- a/rc/filetype/rust.kak +++ b/rc/filetype/rust.kak @@ -86,3 +86,8 @@ hook global WinSetOption filetype=rust %[ hook window InsertChar \} -group rust-indent rust-indent-on-closing-curly-brace hook -once -always window WinSetOption filetype=.* %{ remove-hooks window rust-.+ } ] + +# Configuration +# ‾‾‾‾‾‾‾‾‾‾‾‾‾ + +set window formatcmd 'rustfmt'