mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:52:25 +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.push(sub);
|
||||
args.quote = null;
|
||||
if (complete)
|
||||
args.completeArg = args.length - 1;
|
||||
break;
|
||||
|
||||
@@ -39,7 +39,7 @@ function Highlights(name, store, serial)
|
||||
CompDesc color: gray; width: 50%;
|
||||
CompLess text-align: center; height: .5ex; line-height: .5ex;
|
||||
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 */
|
||||
|
||||
Indicator color: blue;
|
||||
|
||||
@@ -1382,11 +1382,11 @@ function ItemList(id) //{{{
|
||||
d.appendChild(row);
|
||||
dom.replaceChild(d, nodes.items);
|
||||
nodes.items = d;
|
||||
nodes.up.style.display = (start == 0) && "none";
|
||||
nodes.down.style.display = (end == context.items.length) && "none";
|
||||
nodes.up.style.display = (start == 0) ? "none" : "block";
|
||||
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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user