avoid completion trigger on `(` when using `if(` , `function(` or `switch(`