]>
Commit | Line | Data |
---|---|---|
33920ee6 JG |
1 | # EditorConfig configuration for dracut |
2 | # http://EditorConfig.org | |
3 | ||
4 | # If you update this file make sure to update .dir-locals.el and .vimrc too. | |
5 | ||
6 | # Top-most EditorConfig file | |
7 | root = true | |
8 | ||
9 | # Unix-style newlines with a newline ending every file, utf-8 charset | |
10 | [*] | |
11 | end_of_line = lf | |
12 | insert_final_newline = true | |
13 | trim_trailing_whitespace = true | |
14 | charset = utf-8 | |
1f621aba HH |
15 | indent_style = space |
16 | indent_size = 4 | |
17 | switch_case_indent = true | |
18 | function_next_line = false | |
19 | binary_next_line = true | |
20 | space_redirects = true | |
33920ee6 JG |
21 | |
22 | # Match config files, set indent to spaces with width of eight. | |
23 | [*.{c,h}] | |
24 | indent_style = space | |
25 | indent_size = 8 | |
26 | ||
27 | # Match config files, set indent to spaces with width of four. | |
28 | [*.sh] | |
29 | indent_style = space | |
30 | indent_size = 4 | |
1f621aba HH |
31 | switch_case_indent = true |
32 | function_next_line = false | |
33 | binary_next_line = true | |
34 | space_redirects = true | |
33920ee6 JG |
35 | |
36 | # Match xml man pages, set indent to spaces with width of two. | |
37 | [man/*.xml] | |
38 | indent_style = space | |
39 | indent_size = 2 |