Minor, hack .editorconfig for vscode use
authorEbrahim Byagowi <ebrahim@gnu.org>
Wed, 9 Jan 2019 12:26:32 +0000 (15:56 +0330)
committerGitHub <noreply@github.com>
Wed, 9 Jan 2019 12:26:32 +0000 (15:56 +0330)
As VSCode and Atom https://github.com/Microsoft/vscode/issues/44438 don't support it

.editorconfig

index bd981d1..0c93e6a 100644 (file)
@@ -7,9 +7,12 @@ end_of_line = lf
 insert_final_newline = true
 
 [*.{c,cc,h,hh}]
-indent_size = 2
-indent_style = space
 tab_width = 8
+indent_style = tab
+# This should be the following but as VSCode and Atom don't support it, disabled for now
+# https://github.com/Microsoft/vscode/issues/44438
+# indent_size = 2
+# indent_style = space
 
 [*.{py,sh}]
 indent_style = tab