mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:18:00 +01:00
Dont quote literal option args. Fix more/less completion arrows.
This commit is contained in:
@@ -609,6 +609,7 @@ function Commands() //{{{
|
|||||||
{
|
{
|
||||||
args.literalArg = sub;
|
args.literalArg = sub;
|
||||||
args.push(sub);
|
args.push(sub);
|
||||||
|
args.quote = null;
|
||||||
if (complete)
|
if (complete)
|
||||||
args.completeArg = args.length - 1;
|
args.completeArg = args.length - 1;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function Highlights(name, store, serial)
|
|||||||
CompDesc color: gray; width: 50%;
|
CompDesc color: gray; width: 50%;
|
||||||
CompLess text-align: center; height: .5ex; line-height: .5ex;
|
CompLess text-align: center; height: .5ex; line-height: .5ex;
|
||||||
CompLess:after content: "\2303" /* Unicode up arrowhead */
|
CompLess:after content: "\2303" /* Unicode up arrowhead */
|
||||||
CompMore text-align: center; height: .5ex; line-height: .5ex; padding-bottom: 1ex;
|
CompMore text-align: center; height: .5ex; line-height: .5ex;
|
||||||
CompMore:after content: "\2304" /* Unicode down arrowhead */
|
CompMore:after content: "\2304" /* Unicode down arrowhead */
|
||||||
|
|
||||||
Indicator color: blue;
|
Indicator color: blue;
|
||||||
|
|||||||
@@ -1382,11 +1382,11 @@ function ItemList(id) //{{{
|
|||||||
d.appendChild(row);
|
d.appendChild(row);
|
||||||
dom.replaceChild(d, nodes.items);
|
dom.replaceChild(d, nodes.items);
|
||||||
nodes.items = d;
|
nodes.items = d;
|
||||||
nodes.up.style.display = (start == 0) && "none";
|
nodes.up.style.display = (start == 0) ? "none" : "block";
|
||||||
nodes.down.style.display = (end == context.items.length) && "none";
|
nodes.down.style.display = (end == context.items.length) ? "none" : "block";
|
||||||
});
|
});
|
||||||
|
|
||||||
divNodes.noCompletions.style.display = (off > 0) && "none";
|
divNodes.noCompletions.style.display = (off > 0) ? "none" : "block";
|
||||||
|
|
||||||
completionElements = div.getElementsByClassName("hl-CompItem");
|
completionElements = div.getElementsByClassName("hl-CompItem");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user