commit 0a3b0483f285c7fa0ab0c472b562991d6ecfad17
parent 03c2cb653efb58d88bbc87f1c422ce23b0fdcbf6
Author: Pablo Cárdenas <pablo-cardenas@outlook.com>
Date: Sat, 30 May 2020 00:19:08 -0500
Added .editorconfig
Diffstat:
1 file changed, 32 insertions(+), 0 deletions(-)
diff --git a/home/.editorconfig b/home/.editorconfig
@@ -0,0 +1,32 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{c,cpp,h,hpp,cc,java,bash,sh}]
+indent_style = tab
+tab_width = 4
+max_line_length = 79
+
+[*.{py,R}]
+indent_style = space
+indent_size = 4
+max_line_length = 79
+
+[Makefile]
+indent_style = tab
+
+[*.{tex,cls}]
+indent_style = tab
+tabwidth = 4
+
+[*.{html,css,js,jsx,ts,tsx,xml,inpx}]
+indent_style = space
+indent_size = 2
+
+[*.{json,yml}]
+indent_style = space
+indent_size = 2