mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:17:59 +01:00
Better completion with quoting, but not perfect.
This commit is contained in:
@@ -434,7 +434,7 @@ function Commands() //{{{
|
||||
{
|
||||
// Push possible option matches into completions
|
||||
if (complete && !onlyArgumentsRemaining)
|
||||
completeOpts = [[opt[0], opt[0][0]] for ([i, opt] in Iterator(options))];
|
||||
completeOpts = [[opt[0], opt[0][0]] for ([i, opt] in Iterator(options)) if (!(opt[0][0] in args))];
|
||||
}
|
||||
function resetCompletions()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user