single-line completion when cursor follows '$', '@'