improve asciidoc and rst editing #40

This commit is contained in:
Henrique Dias committed 2016-02-07 09:09:22 +00:00
1 parent cf23f6362a
commit 78e252b730
2 files changed
+23 -19

No files matched your search

+4 -1
View File
@@ -19,7 +19,10 @@ import (
// CanBeEdited checks if a filename has a supported extension
func CanBeEdited(filename string) bool {
extensions := [...]string{".markdown", ".md",
extensions := [...]string{
"md", "markdown", "mdown", "mmark",
"asciidoc", "adoc", "ad",
"rst",
".json", ".toml", ".yaml",
".css", ".sass", ".scss",
".js",