diff options
| author | Jason Nader <jason.nader@protonmail.com> | 2021-11-19 16:27:42 +0900 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2021-11-19 09:20:25 +0100 |
| commit | 5150d3869cd801cb2badb3c645fa41c01bbfbbbf (patch) | |
| tree | e5aae330fb0d9158f8db091d86290546135c5296 /.editorconfig | |
| parent | 2bf76009e1d279a4194d37b9ee4f2bf0d9424d62 (diff) | |
Add editorconfig
Diffstat (limited to '.editorconfig')
| -rw-r--r-- | .editorconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..825871a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# For the full list of code style requirements, see sway's CONTRIBUTING.md + +root = true + +[*] +charset = utf-8 +end_of_line = lf + +[*.{c,h,cmake,txt}] +indent_style = tab +indent_size = 4 + +[*.{xml,yml}] +indent_style = space +indent_size = 2 + +[config] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false |
