Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions break when separator starts with - #625

Closed
peritpatrio opened this issue Oct 12, 2022 · 1 comment · Fixed by #628
Closed

Suggestions break when separator starts with - #625

peritpatrio opened this issue Oct 12, 2022 · 1 comment · Fixed by #628
Labels
bug Something isn't working

Comments

@peritpatrio
Copy link

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: '--'
};
@bradlc bradlc added the bug Something isn't working label Oct 12, 2022
@bradlc
Copy link
Contributor

bradlc commented Oct 13, 2022

Hey @peritpatrio, thanks for reporting this. Should be fixed in the next release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants