Skip to content

Support for alpinejs highlighting syntax in blade files #306

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

N1ebieski
Copy link
Contributor

@N1ebieski N1ebieski commented Mar 6, 2025

This PR adds support for alpinejs highlighting syntax in blade files

I modified the regex expression from package https://github.com/pcbowers/alpine-intellisense to exclude coincident cases with the blade syntax like:

  • <x-component vs x-data
  • @foreach( vs @click=
  • :attribute vs ::class

This feature needs more testing.

Fixes #222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Syntax highlighting of Alpine [x-data] blocks
1 participant