From 59746df489198723acaced61cbc6f12be3c8fd4a Mon Sep 17 00:00:00 2001 From: sinni800 Date: Thu, 3 Nov 2016 15:41:59 +0100 Subject: [PATCH] Syntax error --- file/info.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/file/info.go b/file/info.go index c39e6c5d..df5e31e1 100644 --- a/file/info.go +++ b/file/info.go @@ -107,7 +107,7 @@ func (i Info) CanBeEdited() bool { ".asciidoc", ".adoc", ".ad", ".rst", ".json", ".toml", ".yaml", ".csv", ".xml", ".rss", ".conf", ".ini", - ".tex", ".sty" + ".tex", ".sty", ".css", ".sass", ".scss", ".js", ".html", @@ -115,7 +115,8 @@ func (i Info) CanBeEdited() bool { ".sh", ".bash", ".ps1", ".bat", ".cmd", ".php", ".pl", ".py", "Caddyfile", - ".c", ".cc" ".h" ".hh" ".cpp" ".hpp" ".f90" ".f" ".bas" ".d" ".ada" ".nim" ".cr" ".java" ".cs" ".vala" ".vapi", + ".c", ".cc", ".h", ".hh", ".cpp", ".hpp", ".f90", + ".f", ".bas", ".d", ".ada", ".nim", ".cr", ".java", ".cs", ".vala", ".vapi", } for _, extension := range extensions {