Skip to content

Commit 976f4e4

Browse files
committed
Alphabetize Black/YAPF ordering
1 parent e328039 commit 976f4e4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ helpfiles in the `doc/` directory. The helpfiles are also available via
2323
* JavaScript (clang-format or [prettier](https://prettier.io))
2424
* JSON (js-beautify)
2525
* Proto (clang-format)
26-
* Python (Autopep8, YAPF, or Black)
26+
* Python (Autopep8, Black, or YAPF)
2727
* Rust ([rustfmt](https://github.com/rust-lang/rustfmt))
2828
* TypeScript (clang-format)
2929
* Shell (shfmt)

autoload/codefmt.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
" * fish: fish_indent
3434
" * gn: gn
3535
" * go: gofmt
36-
" * python: autopep8, yapf, black
36+
" * python: autopep8, black, yapf
3737

3838

3939
let s:plugin = maktaba#plugin#Get('codefmt')

doc/codefmt.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ Default: 'dartfmt' `
5353
The path to the js-beautify executable.
5454
Default: 'js-beautify' `
5555

56-
*codefmt:yapf_executable*
57-
The path to the yapf executable.
58-
Default: 'yapf' `
59-
6056
*codefmt:black_executable*
6157
The path to the black executable.
6258
Default: 'black' `
6359

60+
*codefmt:yapf_executable*
61+
The path to the yapf executable.
62+
Default: 'yapf' `
63+
6464
*codefmt:gn_executable*
6565
The path to the gn executable.
6666
Default: 'gn' `
@@ -166,7 +166,7 @@ The current list of defaults by filetype is:
166166
* fish: fish_indent
167167
* gn: gn
168168
* go: gofmt
169-
* python: autopep8, yapf, black
169+
* python: autopep8, black, yapf
170170

171171
==============================================================================
172172
DICTIONARIES *codefmt-dicts*

plugin/register.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ call s:registry.AddExtension(codefmt#jsbeautify#GetFormatter())
2929
call s:registry.AddExtension(codefmt#clangformat#GetFormatter())
3030
call s:registry.AddExtension(codefmt#gofmt#GetFormatter())
3131
call s:registry.AddExtension(codefmt#dartfmt#GetFormatter())
32-
call s:registry.AddExtension(codefmt#yapf#GetFormatter())
3332
call s:registry.AddExtension(codefmt#black#GetFormatter())
33+
call s:registry.AddExtension(codefmt#yapf#GetFormatter())
3434
call s:registry.AddExtension(codefmt#autopep8#GetFormatter())
3535
call s:registry.AddExtension(codefmt#gn#GetFormatter())
3636
call s:registry.AddExtension(codefmt#buildifier#GetFormatter())

0 commit comments

Comments
 (0)