Skip to content

Commit 1c65476

Browse files
PurpleMystda-x
authored andcommitted
fix: allow bar to be placed after :RustFmt
1 parent 9b4e8e8 commit 1c65476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ command! -nargs=* -buffer RustEmitAsm call rust#Emit("asm", <q-args>)
121121
command! -range=% RustPlay :call rust#Play(<count>, <line1>, <line2>, <f-args>)
122122

123123
" See |:RustFmt| for docs
124-
command! -buffer RustFmt call rustfmt#Format()
124+
command! -bar -buffer RustFmt call rustfmt#Format()
125125

126126
" See |:RustFmtRange| for docs
127127
command! -range -buffer RustFmtRange call rustfmt#FormatRange(<line1>, <line2>)

0 commit comments

Comments
 (0)