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
32
32
# Commands
33
33
34
34
Use ` :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.
36
37
37
38
# Usage example
38
39
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ call s:plugin.flags.autopep8_executable.AddCallback(
55
55
" The path to the clang-format executable. String, list, or callable that
56
56
" takes no args and returns a string or a list.
57
57
call 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.
60
60
call s: plugin .flags.clang_format_executable.AddCallback (
61
61
\ maktaba#function#FromExpr (' codefmt#clangformat#InvalidateVersion()' ), 0 )
62
62
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ examples.
17
17
You can format any buffer with fish_indent specifying the formatter explicitly.
18
18
19
19
@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
21
22
22
23
:FormatCode fish_indent
23
24
! fish_indent .*2>.*
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ examples.
15
15
:call codefmt#SetWhetherToPerformIsAvailableChecksForTesting(0)
16
16
17
17
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.
19
20
20
21
% fn main(){println!("Hello World!");}
21
22
:FormatCode rustfmt
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ examples.
14
14
15
15
:call codefmt#SetWhetherToPerformIsAvailableChecksForTesting(0)
16
16
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.
18
19
19
20
:FormatCode zprint
20
21
! cd .* zprint .*
You can’t perform that action at this time.
0 commit comments