mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 08:42:30 +02:00
Get rid of offensively long list of specs for :setl and :setg, and other small help formatting changes.
This commit is contained in:
1 parent
538b91719e
commit
1de88a4016
4 files changed
+48
-62
No files matched your search
+10
-8
@@ -458,14 +458,16 @@
|
||||
|
||||
<xsl:template match="dactyl:se" mode="help-2">
|
||||
<xsl:variable name="nodes" xmlns="&xmlns.dactyl;">
|
||||
<ex>:set</ex>
|
||||
<xsl:text> </xsl:text>
|
||||
<link topic="'{@opt}'"><hl key="HelpOpt"><xsl:value-of select="@opt"/></hl></link>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@op and @op != ''"><xsl:value-of select="@op"/></xsl:when>
|
||||
<xsl:otherwise>=</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:copy-of select="@*|node()"/>
|
||||
<html:span style="display: inline-block;">
|
||||
<ex>:set</ex>
|
||||
<xsl:text> </xsl:text>
|
||||
<link topic="'{@opt}'"><hl key="HelpOpt"><xsl:value-of select="@opt"/></hl></link>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@op and @op != ''"><xsl:value-of select="@op"/></xsl:when>
|
||||
<xsl:otherwise>=</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:copy-of select="@*|node()"/>
|
||||
</html:span>
|
||||
</xsl:variable>
|
||||
<xsl:apply-templates select="exsl:node-set($nodes)" mode="help-1"/>
|
||||
</xsl:template>
|
||||
|
||||
Reference in new issue
Block a user