summaryrefslogtreecommitdiffstats
path: root/helpers/docshelper.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/docshelper.go')
-rw-r--r--helpers/docshelper.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/helpers/docshelper.go b/helpers/docshelper.go
index 1397acc59..dbf5292d4 100644
--- a/helpers/docshelper.go
+++ b/helpers/docshelper.go
@@ -11,9 +11,7 @@ import (
// This is is just some helpers used to create some JSON used in the Hugo docs.
func init() {
-
docsProvider := func() docshelper.DocProvider {
-
var chromaLexers []interface{}
sort.Sort(lexers.Registry.Lexers)
@@ -50,7 +48,6 @@ func init() {
}
return docshelper.DocProvider{"chroma": map[string]interface{}{"lexers": chromaLexers}}
-
}
docshelper.AddDocProviderFunc(docsProvider)