-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
52 lines (43 loc) · 895 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ===================================
# Git attributes for c3P repo
# ===================================
# This is the root editor config so all
# general settings would be set here
root = true
# General settings for Linux machine
[*]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
indent_style = tab
tab_width = 8
# Authors
[AUTHORS]
indent_style = tab
tab_width = 3
# Reduce indent at Makefile since code usually
# has not many lines at ifdef token
[Makefile]
indent_style = tab
tab_width = 2
# Json files
[*.{json,jsonc}]
indent_style = tab
tab_width = 4
# c3P source files
[*.{c3p,c3P,C3P}]
indent_style = tab
tab_width = 4
# C/C++ source files
[*.{c,h,cpp,hpp,c3p}]
indent_style = tab
tab_width = 4
# Flex/Bison source files
[*.{l,y}]
indent_style = tab
tab_width = 4
# Script files
[*.{sh,zsh,bash}]
indent_style = tab
tab_width = 4