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

Calls to functions get completely messed up in Sass (*.scss) #675

Closed
raduluchian opened this issue Apr 26, 2015 · 2 comments
Closed

Calls to functions get completely messed up in Sass (*.scss) #675

raduluchian opened this issue Apr 26, 2015 · 2 comments

Comments

@raduluchian
Copy link

When I beautify a Sass file and there is a call to a function the code gets messed up really bad and obviously Sass has errors when compiling. For example there is this function:

@function headings($from:1, $to:6) {
     ...
}

And then this would be the call for said function:

#{headings(1,6)} {
    margin: 0;
}

What the plugin does is it turns it into this:

# {
headings(1, 6)
}
{
    margin: 0;
}

Needless to say this makes the plugin completely unusable if you are using functions in your Sass code, which is quite unfortunate as it seems to be pretty handy.

@jeremytm
Copy link

+1

@bitwiseman
Copy link
Member

Fixed at the same time as #689.

@bitwiseman bitwiseman added this to the 1.5.7 milestone Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants