Commit b3bf963 1 parent e23d0d3 commit b3bf963 Copy full SHA for b3bf963
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -613,9 +613,9 @@ docgen.generators = {
613
613
table.insert (layout , " </summary>" )
614
614
table.insert (layout , " " )
615
615
vim .list_extend (layout , description )
616
- table.insert (layout , string.format (" - Default map : `%s`" , data .rhs ))
616
+ table.insert (layout , string.format (" - Maps to : `%s`" , data .rhs ))
617
617
if mnemonic then
618
- table.insert (layout , string.format (" - Mnemonic: %s " , docgen .format_mnemonic (mnemonic )))
618
+ table.insert (layout , string.format (" - Mnemonic: <code>%s</code> " , docgen .format_mnemonic (mnemonic )))
619
619
end
620
620
table.insert (layout , " " )
621
621
table.insert (layout , " </details>" )
@@ -868,7 +868,7 @@ docgen.parse_keybind_data = function(buffer)
868
868
end
869
869
870
870
docgen .format_mnemonic = function (str )
871
- return str :gsub (" ([A-Z])" , " `%1` " )
871
+ return str :gsub (" ([A-Z])" , " <strong>%1</strong> " ): lower ( )
872
872
end
873
873
874
874
docgen .extract_mnemonic = function (comments )
You can’t perform that action at this time.
0 commit comments