@@ -94,7 +94,7 @@ Default: 'yapf' `
9494The path to the black executable.
9595Default: 'black' `
9696
97- *codefmt:isort_executable*
97+ *codefmt:isort_executable*
9898The path to the isort executable.
9999Default: 'isort' `
100100
@@ -106,13 +106,16 @@ Default: 'gn' `
106106The path to the buildifier executable.
107107Default: 'buildifier' `
108108
109- *codefmt:buildifier_lint_mode*
110- Buildifier --lint=lint_mode parameter. Set to 'fix' to autofix issues.
111- Default: '' to not pass the flag and use the buildifier default (off)
112- Off: Do not fix issues.
113- Fix: Fix issues automatically during formatting.
114- Warn: Format only if there are no issues; if there are issues
115- it will cause an error and do no formatting.
109+ *codefmt:buildifier_lint_mode*
110+ The lint_mode for buildifier. passed to buildifier --lint parameter.
111+
112+ Options:
113+ "" (empty): Use default from buildifier.
114+ "Off": Do not fix issues.
115+ "Fix": Fix issues automatically during formatting.
116+ "Warn": Format only if there are no issues; if there are issues, it will cause
117+ an error and do no formatting.
118+ Default: '' `
116119
117120 *codefmt:google_java_executable*
118121The path to the google-java executable. Generally, this should have the form:
@@ -147,6 +150,10 @@ Command line arguments to feed prettier. Either a list or callable that takes
147150no args and returns a list with command line arguments.
148151Default: [] `
149152
153+ *codefmt:swift_format_executable*
154+ The path to the swift-format executable.
155+ Default: 'swift-format' `
156+
150157 *codefmt:prettier_executable*
151158The path to the prettier executable. String, list, or callable that takes no
152159args and returns a string or a list. The default uses npx if available, so
@@ -190,11 +197,6 @@ Default: 'luaformatterfiveone' `
190197The path to the cljstyle executable.
191198Default: 'cljstyle' `
192199
193- *codefmt:swift_format_executable*
194- The path to the swift-format executable.
195- Default: 'swift-format' `
196-
197-
198200 *codefmt:plugin[autocmds]*
199201Configures whether plugin/autocmds.vim should be loaded.
200202Default: 1 `
0 commit comments