Skip to main content

dispatch_compfn

Function dispatch_compfn 

Source
pub fn dispatch_compfn(name: &str, args: &[String]) -> Option<i32>
Expand description

Invoke a plugin’s override for compsys _fn name, if one is registered. args are the completion-function arguments (argv[1..]); argv[0] is set to name, matching the completer-chain convention. Returns Some(rc) if a plugin handled it, else None (fall through to the built-in port / shell autoload). (ABI v4.)