File tree Expand file tree Collapse file tree 6 files changed +25
-6
lines changed Expand file tree Collapse file tree 6 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 1+ # EditorConfig is awesome: http://EditorConfig.org
2+
3+ root = true
4+
5+ [* ]
6+ indent_size = 2
7+ indent_style = space
8+ end_of_line = lf
9+ insert_final_newline = true
10+
11+ [* .{md,py,vim,vroom} ]
12+ max_line_length = 80
13+
14+ [* .{py,vim} ]
15+ quote_type = single
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ helpfiles in the `doc/` directory. The helpfiles are also available via
3232# Commands
3333
3434Use ` :FormatLines ` to format a range of lines or use ` :FormatCode ` to format
35- the entire buffer. Use ` :NoAutoFormatBuffer ` to disable current buffer formatting.
35+ the entire buffer. Use ` :NoAutoFormatBuffer ` to disable current buffer
36+ formatting.
3637
3738# Usage example
3839
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ call s:plugin.flags.autopep8_executable.AddCallback(
5555" The path to the clang-format executable. String, list, or callable that
5656" takes no args and returns a string or a list.
5757call s: plugin .Flag (' clang_format_executable' , ' clang-format' )
58- " Invalidate cache of detected clang-format version when this is changed, regardless
59- " of {value} arg.
58+ " Invalidate cache of detected clang-format version when this is changed,
59+ " regardless of {value} arg.
6060call s: plugin .flags.clang_format_executable.AddCallback (
6161 \ maktaba#function#FromExpr (' codefmt#clangformat#InvalidateVersion()' ), 0 )
6262
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ examples.
1717You can format any buffer with fish_indent specifying the formatter explicitly.
1818
1919 @clear
20- % if test 42 -eq $truth; echo '42 is truth'; else; echo 'I do not know what to believe'; end
20+ % if test 42 -eq $truth; echo '42 is truth'; else;
21+ | echo 'I do not know what to believe'; end
2122
2223 :FormatCode fish_indent
2324 ! fish_indent .*2>.*
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ examples.
1515 :call codefmt#SetWhetherToPerformIsAvailableChecksForTesting(0)
1616
1717
18- The rustfmt formatter expects the rustfmt executable to be installed on your system.
18+ The rustfmt formatter expects the rustfmt executable to be installed on your
19+ system.
1920
2021 % fn main(){println!("Hello World!");}
2122 :FormatCode rustfmt
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ examples.
1414
1515 :call codefmt#SetWhetherToPerformIsAvailableChecksForTesting(0)
1616
17- The zprint formatter expects the zprint executable to be installed on your system.
17+ The zprint formatter expects the zprint executable to be installed on your
18+ system.
1819
1920 :FormatCode zprint
2021 ! cd .* zprint .*
You can’t perform that action at this time.
0 commit comments