Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 590 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 590 Bytes

Some auto pair plugins do this annoying thing

==============================

| = cursor

if(condition) {|}

ENTER KEY IS PRESSED

if(condition) {
|}

==============================

Personally, I don't really like that. My plugin serves to prevent that by checking both the left and right characters to see if the cursor is between valid pairs, and properly indenting the brackets if they are.

==============================

| = cursor

if(condition) {|}

ENTER KEY IS PRESSED

if(condition) {
      |
}

==============================