]> git.ipfire.org Git - thirdparty/dracut.git/blame - .editorconfig
fix(network-legacy): typo
[thirdparty/dracut.git] / .editorconfig
CommitLineData
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
7root = true
8
9# Unix-style newlines with a newline ending every file, utf-8 charset
10[*]
11end_of_line = lf
12insert_final_newline = true
13trim_trailing_whitespace = true
14charset = utf-8
1f621aba
HH
15indent_style = space
16indent_size = 4
17switch_case_indent = true
18function_next_line = false
19binary_next_line = true
20space_redirects = true
33920ee6
JG
21
22# Match config files, set indent to spaces with width of eight.
23[*.{c,h}]
24indent_style = space
25indent_size = 8
26
27# Match config files, set indent to spaces with width of four.
28[*.sh]
29indent_style = space
30indent_size = 4
1f621aba
HH
31switch_case_indent = true
32function_next_line = false
33binary_next_line = true
34space_redirects = true
33920ee6
JG
35
36# Match xml man pages, set indent to spaces with width of two.
37[man/*.xml]
38indent_style = space
39indent_size = 2