Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indented syntax: allow indentation to vary within a file #2176

Closed
nex3 opened this Issue Oct 22, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@nex3
Copy link
Contributor

nex3 commented Oct 22, 2016

The Sass indented syntax is currently very strict about what indentation can be used. Once a single indented line has been parsed, all future lines must use multiples of that number of spaces. We should loosen this up, and only require that indentation be relatively higher or lower.

Note that we'll still require that a given document only use tabs or spaces, not both.

@nex3 nex3 added the Feature label Oct 22, 2016

nex3 added a commit to sass/sass-spec that referenced this issue Jun 8, 2017

Add a spec for allowing different indentation.
This also adds a spec for inconsistent indentation within one parent,
which is still forbidden.

See sass/sass#2176

nex3 added a commit that referenced this issue Jun 8, 2017

nex3 added a commit that referenced this issue Jun 8, 2017

nex3 added a commit that referenced this issue Jun 9, 2017

@nex3 nex3 closed this Jun 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.