Skip to content

Instantly share code, notes, and snippets.

@bookercodes
Last active March 8, 2016 00:08
Show Gist options
  • Save bookercodes/d9d892969fbc147aa8d4 to your computer and use it in GitHub Desktop.
Save bookercodes/d9d892969fbc147aa8d4 to your computer and use it in GitHub Desktop.

Hi 👋! So, I have a small problem whereby if, within a JavaScript file, I write:

{
  { 
  }
}

... And then delete the third bracket from the top:

{
  { 
  
}

When I try to add it back again, the bracket is inserted like this:

{
  { 
  
}}

Just wondering if anyone else has the same problem...?

@steffen25
Copy link

Hi Alex

@avishaan
Copy link

avishaan commented Mar 8, 2016

Hmm, it seemed to work for me properly when I did it on the stream. Maybe try seeing if there is a known issue with one of the plugins you are using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment