Skip to content

Commit 8e9aba2

Browse files
committed
Don't use MissingTag class for a command
1 parent 2858637 commit 8e9aba2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/makehtml.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ function! s:MakeLink(lang, hlname, tagname)
189189
let href .= '#' . tagname
190190
endif
191191
let res = printf('<a class="EnglishTag" href="%s">%s%s%s</a>', href, sep, a:tagname, sep)
192+
elseif a:hlname == "helpCommand"
193+
" Don't use MissingTag class for a command.
194+
let res = printf('<span class="%s">%s%s%s</span>', s:attr_save[a:hlname], sep, a:tagname, sep)
192195
else
193196
let res = printf('<span class="MissingTag">%s%s%s</span>', sep, a:tagname, sep)
194197
endif

0 commit comments

Comments
 (0)