Skip to content

Sublimeful/nvim-brackets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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) {
      |
}

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages