Skip to content

Suggestions break when separator starts with - #625

@peritpatrio

Description

@peritpatrio

What version of Tailwind CSS IntelliSense are you using?

v0.8.7

What version of Tailwind CSS are you using?

v3.0.23

What package manager are you using?

yarn

What operating system are you using?

macOS

Describe your issue

I am trying to use md--w-full instead of md:w-full in my project. However, when setting a custom separator that begins with - the plugin stops suggesting class names. If the separator is set to _- everything works fine.

tailwind.config.js

module.exports = {
  separator: '--'
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions