]> go.fuhry.dev Git - fsnotify.git/commitdiff
revise editor config
authorNathan Youngman <4566+nathany@users.noreply.github.com>
Sat, 5 Oct 2019 23:12:25 +0000 (17:12 -0600)
committerNathan Youngman <4566+nathany@users.noreply.github.com>
Tue, 8 Oct 2019 02:08:56 +0000 (20:08 -0600)
tabs only for Go

.editorconfig

index ba49e3c234913ddbb57957b024d6977096125696..fad895851e56b56b08dfd6ac860e0c3fdf145c2c 100644 (file)
@@ -1,5 +1,12 @@
 root = true
 
-[*]
+[*.go]
 indent_style = tab
 indent_size = 4
+insert_final_newline = true
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+trim_trailing_whitespace = true