@@ -43,25 +43,25 @@ endfunction
43
43
" "
44
44
" Format the current line or range using [formatter].
45
45
" @default formatter=the default formatter associated with the current buffer
46
- command -nargs =? - range -complete =custom ,codefmt#GetSupportedFormatters
46
+ command -nargs =? - bar - range -complete =custom ,codefmt#GetSupportedFormatters
47
47
\ FormatLines call s: FormatLinesAndSetRepeat (<line1> , <line2> , <f-args> )
48
48
49
49
" "
50
50
" Format the whole buffer using [formatter].
51
51
" See @section(formatters) for list of valid formatters.
52
52
" @default formatter=the default formatter associated with the current buffer
53
- command -nargs =? -complete =custom ,codefmt#GetSupportedFormatters
53
+ command -nargs =? - bar - complete =custom ,codefmt#GetSupportedFormatters
54
54
\ FormatCode call s: FormatBufferAndSetRepeat (<f-args> )
55
55
56
56
" "
57
57
" Enables format on save for this buffer using [formatter]. Also configures
58
58
" [formatter] as the default formatter for this buffer via the
59
59
" @setting(b:codefmt_formatter) variable.
60
60
" @default formatter=the default formatter associated with the current buffer
61
- command -nargs =? -complete =custom ,codefmt#GetSupportedFormatters
61
+ command -nargs =? - bar - complete =custom ,codefmt#GetSupportedFormatters
62
62
\ AutoFormatBuffer call s: AutoFormatBuffer (<f-args> )
63
63
64
64
" "
65
65
" Disables format on save for this buffer.
66
- command -nargs =0 NoAutoFormatBuffer let b: codefmt_auto_format_buffer = 0
66
+ command -nargs =0 - bar NoAutoFormatBuffer let b: codefmt_auto_format_buffer = 0
67
67
0 commit comments