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

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

Projects

None yet

1 participant

@jcf
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