Small tweak

This commit is contained in:
Alex Yatskov 2015-08-19 18:59:18 +09:00
parent 9fc45c4c39
commit 286d4151eb

View File

@ -396,7 +396,7 @@ func (v *vimDoc) DocumentFooter(out *bytes.Buffer) {
temp.Write(out.Bytes()[:v.tocPos]) temp.Write(out.Bytes()[:v.tocPos])
v.writeRule(&temp, "=") v.writeRule(&temp, "=")
title := []byte("contents") title := []byte("Contents")
tag := fmt.Sprintf("*%s*", v.buildHelpTag(title)) tag := fmt.Sprintf("*%s*", v.buildHelpTag(title))
v.writeSplitText(&temp, bytes.ToUpper(title), []byte(tag), " ", 2) v.writeSplitText(&temp, bytes.ToUpper(title), []byte(tag), " ", 2)
temp.WriteString("\n") temp.WriteString("\n")