summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index a4a872ed5c8..a32d8056f16 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -43,6 +43,14 @@ indent_style = space
 # Disable file types or individual files
 # some of these files may be auto-generated and/or require significant changes
 
+[*.{c,h}]
+insert_final_newline = unset
+trim_trailing_whitespace = unset
+
+[*.{key,ovpn}]
+insert_final_newline = unset
+end_of_line = unset
+
 [*.lock]
 indent_size = unset