Enhancement - _config
- Merged Fredde's _config command with prior bug fix.
This commit is contained in:
@@ -330,6 +330,20 @@ std::string handleCompletionCommands ()
|
||||
return out.str ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string handleCompletionConfig ()
|
||||
{
|
||||
std::vector <std::string> configs;
|
||||
context.config.all (configs);
|
||||
std::sort (configs.begin (), configs.end ());
|
||||
|
||||
std::stringstream out;
|
||||
foreach (config, configs)
|
||||
out << *config << std::endl;
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string handleCompletionIDs ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user