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?

0

请先登录再写评论。