From b96a4a63c0a8b2a1600e21cd94774cd2604c18a2 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 30 Oct 2017 15:36:40 +0000 Subject: [PATCH] whitelist .htaccess to be edited; close #258 Former-commit-id: 1114b97a9b0cf236d96ce283bbf8d482cc85170f [formerly 6419fbd11f28ce1dc5ebdfcde0d34adabd016052] [formerly c1135ecdb720db11f4e1182c5456c484f5f58ed1 [formerly 72ee240ce363b34075a082e7678be7186036584f]] Former-commit-id: 09fc62ffc432b822ea495b19bc5daafbd3ed8912 [formerly c1eb12242b30a1d90299427c387e0b2a25ce0f24] Former-commit-id: e097526998a0d9c6382bd9d97af3bf161e8fcd0c --- file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/file.go b/file.go index 7337f049..6c217b10 100644 --- a/file.go +++ b/file.go @@ -418,6 +418,7 @@ var textExtensions = [...]string{ ".sh", ".bash", ".ps1", ".bat", ".cmd", ".php", ".pl", ".py", "Caddyfile", + ".htaccess", ".c", ".cc", ".h", ".hh", ".cpp", ".hpp", ".f90", ".f", ".bas", ".d", ".ada", ".nim", ".cr", ".java", ".cs", ".vala", ".vapi", }