summaryrefslogtreecommitdiff
path: root/tomlplusplus/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'tomlplusplus/.editorconfig')
-rw-r--r--tomlplusplus/.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/tomlplusplus/.editorconfig b/tomlplusplus/.editorconfig
new file mode 100644
index 0000000000..0be60cb94b
--- /dev/null
+++ b/tomlplusplus/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+insert_final_newline = true
+indent_style = tab
+indent_size = 4
+tab_width = 4
+end_of_line = lf
+trim_trailing_whitespace = true
+charset = utf-8
+max_line_length = 120
+
+[*.{gitattributes,yaml,yml,vcxproj,vcxproj.filters,sln,rc,clang-format,toml,py,cmake,md,markdown}]
+indent_style = space
+
+[{Doxyfile,Doxyfile-mcss,CMakeLists.txt}]
+indent_style = space
+
+[*.{hlsl,rc,sln,vcxproj,vcxproj.filters}]
+end_of_line = crlf
+
+[*.{sln,vcxproj,vcxproj.filters}]
+charset = utf-8-bom