completion: only do c completion if the type is C.