- ("add", keepGoingPaths addModule),
- ("browse", keepGoing browseCmd),
- ("cd", keepGoing changeDirectory),
- ("def", keepGoing defineMacro),
- ("help", keepGoing help),
- ("?", keepGoing help),
- ("info", keepGoing info),
- ("load", keepGoingPaths loadModule_),
- ("module", keepGoing setContext),
- ("main", keepGoing runMain),
- ("reload", keepGoing reloadModule),
- ("check", keepGoing checkModule),
- ("set", keepGoing setCmd),
- ("show", keepGoing showCmd),
- ("etags", keepGoing createETagsFileCmd),
- ("ctags", keepGoing createCTagsFileCmd),
- ("type", keepGoing typeOfExpr),
- ("kind", keepGoing kindOfType),
- ("unset", keepGoing unsetOptions),
- ("undef", keepGoing undefineMacro),
- ("quit", quit)
+ ("add", keepGoingPaths addModule, completeFilename),
+ ("browse", keepGoing browseCmd, completeModule),
+ ("cd", keepGoing changeDirectory, completeFilename),
+ ("def", keepGoing defineMacro, completeIdentifier),
+ ("help", keepGoing help, completeNone),
+ ("?", keepGoing help, completeNone),
+ ("info", keepGoing info, completeIdentifier),
+ ("load", keepGoingPaths loadModule_, completeHomeModuleOrFile),
+ ("module", keepGoing setContext, completeModule),
+ ("main", keepGoing runMain, completeIdentifier),
+ ("reload", keepGoing reloadModule, completeNone),
+ ("check", keepGoing checkModule, completeHomeModule),
+ ("set", keepGoing setCmd, completeNone), -- ToDo
+ ("show", keepGoing showCmd, completeNone),
+ ("etags", keepGoing createETagsFileCmd, completeFilename),
+ ("ctags", keepGoing createCTagsFileCmd, completeFilename),
+ ("type", keepGoing typeOfExpr, completeIdentifier),
+ ("kind", keepGoing kindOfType, completeIdentifier),
+ ("unset", keepGoing unsetOptions, completeNone), -- ToDo
+ ("undef", keepGoing undefineMacro, completeNone), -- ToDo
+ ("quit", quit, completeNone)