Inserting matching brace

I'm developing a custom language plugin and want to insert a closing brace when the user types the opening brace. Anyone know how to do this?

Please sign in to leave a comment.