Skip to content

:hi sassClass is different from cssClassName, and is identical to cssBoxProp etc. #81

Description

@jsit

In css.vim, cssClassName is linked to Function.

In sass.vim, sassClass is linked to Type.

These are the official CSS and Sass syntax files that ship with Vim.

It seems like maybe sassClass should be linked to cssClassName, or at least Function to match css.vim? Otherwise class names in CSS files and class names in Sass files can often be different colors, which could give a strange appearance if they're side-by-side.

Even without a CSS file to compare to, this highlighting for sassClass means that class names (sassClass) and CSS property names (cssBoxProp, cssTextProp, etc.) are the same color in a Sass file, which seems like it doesn't quite differentiate them enough.

screen shot 2018-05-31 at 6 29 36 pm

This screenshot from vim -u NONE -N on Vim 8.0.1450 with :color desert.

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