Cursor tab autocompletion should maintain parenthesis well formedness

I found it a little annoying to always having the autocompletion breaks my nested curly braces when coding Rust.

Fixing this could be a huge user experience for me.