Explorar o código

Updated EditorConfig (#4394)

* Set character set to UTF-8 for all files.
* Use tabs in C related files.
Aleos %!s(int64=5) %!d(string=hai) anos
pai
achega
e54b68a4c3
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      .editorconfig

+ 6 - 0
.editorconfig

@@ -6,9 +6,15 @@ root = true
 
 # Add a blank newline to the end of every file after saving
 # Trim trailing whitespace
+# Adjust character set
 [*]
 insert_final_newline = true
 trim_trailing_whitespace = true
+charset = utf-8
+
+# Use tabs in source
+[*.{cpp,c,hpp,h}]
+indent_style = tab
 
 # YAML does not support hard tabs.
 [*.{yml,yaml}]