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

SASS syntax checker doesn't understand Rails + Compass #3

Open
jcf opened this issue Apr 28, 2010 · 0 comments
Open

SASS syntax checker doesn't understand Rails + Compass #3

jcf opened this issue Apr 28, 2010 · 0 comments

Comments

@jcf
Copy link

jcf commented Apr 28, 2010

This isn't a huge problem but I have had to disable the SASS syntax checker as sass doesn't understand the concept of importing SASS partials and hence errors when it finds a mixin or constant that is defined in another file.

I thought about adding some sort of conditional to the syntax checker to look for an underscore before the filename (something like expand("%:t") =~ "^_") and try to traverse the stylesheets tree to find the file that imports the current SASS file but that just felt a bit over-the-top.

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

No branches or pull requests

1 participant