Skip to content

Unwanted extra tab after if statement in JavaScript files with auto indent #249

Discussion options

You must be logged in to vote

It's not that easy because the older indentation behavior relies on a system that we're trying to move away from. In TextMate-style grammars, all indentation is controlled by unwieldy regular expressions, and it was a design goal of this new system to move to something more intuitive for grammar authors. The old system still exists, but the infrastructure isn't there (yet) to do the old indentation system on the new grammars.

I have an eventual goal to make indentation truly pluggable, but in the meantime, here are your options:

  1. Wait for 1.114 (in a couple weeks) or the next rolling release of 1.113 (hopefully in a few days) for the fix I described above. You'll be able to turn off nearl…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@CLNoob
Comment options

@savetheclocktower
Comment options

@CLNoob
Comment options

@savetheclocktower
Comment options

Answer selected by CLNoob
@CLNoob
Comment options

@ghxstweb
Comment options

@savetheclocktower
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants