@@ -70,8 +70,8 @@ The path to the google-java executable. Generally, this should have the form:
70
70
Default: 'google-java-format' `
71
71
72
72
*codefmt:shfmt_options*
73
- Command line arguments to feed shfmt. Either a list or callable that takes
74
- no args and returns a list with command line arguments. By default, uses the
73
+ Command line arguments to feed shfmt. Either a list or callable that takes no
74
+ args and returns a list with command line arguments. By default, uses the
75
75
Google's style. See https://github.com/mvdan/sh for details.
76
76
Default: ['-i', '2', '-sr', '-ci'] `
77
77
@@ -80,15 +80,24 @@ The path to the shfmt executable.
80
80
Default: 'shfmt' `
81
81
82
82
*codefmt:prettier_options*
83
- Command line arguments to feed prettier. Either a list or callable that
84
- takes no args and returns a list with command line arguments.
83
+ Command line arguments to feed prettier. Either a list or callable that takes
84
+ no args and returns a list with command line arguments.
85
85
Default: [ '--single-quote', '--trailing-comma=all', '--arrow-parens=always',
86
86
'--print-width=80'] `
87
87
88
88
*codefmt:prettier_executable*
89
89
The path to the prettier executable.
90
90
Default: 'prettier' `
91
91
92
+ *codefmt:rustfmt_options*
93
+ Command line arguments to feed rustfmt. Either a list or callable that takes
94
+ no args and returns a list with command line arguments.
95
+ Default: [] `
96
+
97
+ *codefmt:rustfmt_executable*
98
+ The path to the rustfmt executable.
99
+ Default: 'rustfmt' `
100
+
92
101
*codefmt:plugin[autocmds]*
93
102
Configures whether plugin/autocmds.vim should be loaded.
94
103
Default: 1 `
0 commit comments