diff options
author | 2023-02-19 16:08:54 -0300 | |
---|---|---|
committer | 2023-02-20 18:07:09 -0300 | |
commit | 71d7572950e9266fcf54a9278a948f6b88fa495b (patch) | |
tree | cf6318c4e6a213903e005399a3c2111ec5fb4516 /contrib/syntax/.editorconfig | |
parent | Fix inconsistent leading spaces (diff) | |
download | firejail-71d7572950e9266fcf54a9278a948f6b88fa495b.tar.gz firejail-71d7572950e9266fcf54a9278a948f6b88fa495b.tar.zst firejail-71d7572950e9266fcf54a9278a948f6b88fa495b.zip |
editorconfig: add indentation rules
Commands used to list the file extensions used in the project:
$ git ls-files | sed -En 's/.*(\.[^.]+)$/\1/p' |
LC_ALL=C sort | uniq -c
For rules that are more specific to a given directory, put a dedicated
.editorconfig file in it.
Diffstat (limited to 'contrib/syntax/.editorconfig')
-rw-r--r-- | contrib/syntax/.editorconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/syntax/.editorconfig b/contrib/syntax/.editorconfig new file mode 100644 index 000000000..385bf17d5 --- /dev/null +++ b/contrib/syntax/.editorconfig | |||
@@ -0,0 +1,7 @@ | |||
1 | [*.lang{,.in}] | ||
2 | indent_size = 2 | ||
3 | indent_style = space | ||
4 | |||
5 | [*.vim{,.in}] | ||
6 | indent_size = 2 | ||
7 | indent_style = space | ||