Skip to content

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

Description

@jcf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions