0000247: Cancel autocomplete of ( ) pair in front of variables, similar to ident behavior

Description

Currently when typing identifiers in front of other identifiers, e.g. having $nick and typing $qt( in front for $qt(|$nick the autocomplete of the matching ')' is cancelled. This behavior should be expanded to variables to prevent cases like $qt(|)%nick from occurring frequently.