Files
.dotfiles/.editorconfig

39 lines
670 B
INI

# specifies that the editor needn't look further, since this is the furthest
# .editorconfig file
root = true
# global settings, good/sane defaults for any file.
# where we follow UNIX formatted plain text, and use tabs over spaces
[*]
charset = UTF-8
end_of_line = LF
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = tab
tab_width = 8
[*.{S,s,asm}]
tab_width = 8
[*.{c,h,cpp,hpp}]
tab_width = 8
[*.{glsl}]
tab_width = 8
# forces the usage of 4 spaces
[*.{py,rs,cs}]
indent_style = space
tab_width = 4
[*.{json,jsonc}]
tab_width = 8
[*.{yaml,toml}]
indent_style = space
tab_width = 4
[*.{html,css,scss}]
tab_width = 8