Context aware auto-close brackets

Close-brackets are useful when selecting text, or writing on a blank line, but when I type a ( immediately before a word, I don’t want a ) to appear thereas well. I wonder if this could be more context aware? It should not auto-complete if the cursor is placed right before a word.