mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:28:01 +01:00
Fix :set completion. Allow completing non-cannonical -options.
This commit is contained in:
@@ -472,7 +472,7 @@ function Commands() //{{{
|
||||
{
|
||||
// Push possible option matches into completions
|
||||
if (complete && !onlyArgumentsRemaining)
|
||||
completeOpts = [[opt[0][0], opt[0][0]] for ([i, opt] in Iterator(options)) if (opt[0][0].indexOf(arg) == 0)];
|
||||
completeOpts = [[opt[0], opt[0][0]] for ([i, opt] in Iterator(options))];
|
||||
}
|
||||
function resetCompletions()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user