fix too eager completion: only complete when a separator is inserted