From c947228ac49c3fa4a6b2f37e45baf10463f5d06b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 15 Nov 2017 20:38:30 +0000 Subject: [PATCH] Whitelist yml and tml extensions Former-commit-id: aed7606c12fa705954e650ba948d891329d66dff [formerly efd4415075000737c5dc7bb5a38a78605989e05c] [formerly 5656bb7bc09285720f094b3054c70994b51aa658 [formerly 8f5eaee9522096ca113d8eef74392ba0f69286c8]] Former-commit-id: 9d774b10c85ae9456a324030f9b7b0c06e600db4 [formerly 9c7919b5e027d829364fcb658b6b9579caad51a3] Former-commit-id: 3196b0ea7f550057e411410e083a8c4f8e748240 --- file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/file.go b/file.go index fa98fed1..01ee82c3 100644 --- a/file.go +++ b/file.go @@ -419,6 +419,7 @@ var textExtensions = [...]string{ ".md", ".markdown", ".mdown", ".mmark", ".asciidoc", ".adoc", ".ad", ".rst", + ".tml", ".yml", ".json", ".toml", ".yaml", ".csv", ".xml", ".rss", ".conf", ".ini", ".tex", ".sty", ".css", ".sass", ".scss",