Skip to content

totally optional: Autoindenting when stepping into and out of multiline enclosures - #4

Open
Sporky023 wants to merge 2 commits into
lukaszb:masterfrom
Sporky023:master
Open

totally optional: Autoindenting when stepping into and out of multiline enclosures#4
Sporky023 wants to merge 2 commits into
lukaszb:masterfrom
Sporky023:master

Conversation

@Sporky023

Copy link
Copy Markdown

I'm using this new version; feel free to distribute if you like. Thanks for bringing web-indent to github, where I can access it with Vundle!

This allows me to type, for example, where `|` is the cursor:  

    {
      |  

Instead of  

    {
    |
`0foo` means "autoindent when foo is the first character typed on the line".

This permits me to see the following, where | is the cursor:

    {
      some: 'thing'
    }|

instead of:

    {
      some: 'thing'
      }|

Same with all types of brackets.  And yes, they are all called
"brackets" :) see https://en.wikipedia.org/wiki/Bracket
@Sporky023

Copy link
Copy Markdown
Author

sorry for closing and opening - spazzing out randomly

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant