Skip to content

Syntax highlighting #6

Closed
Closed
@benface

Description

@benface

First of all, thank you so much for this.

It would be cool if not only the linter didn't mark Tailwind's "additions" to CSS as invalid (for instance it doesn't like @apply .some-class, complaining with [css] identifier expected), but to go one step further and highlight @apply and the utilities following it. Similarly, config() could be highlighted the same way other CSS "functions" such as calc() are.

I don't know if that's possible, but if it is, it would make this awesome extension even better. :) Thanks!

EDIT: I forgot to mention @tailwind and @screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions