Skip to content

Conversation

xfcasio
Copy link

@xfcasio xfcasio commented Aug 10, 2025

As the title suggests, highlight types that start with multiple capitalized characters as user types instead of global constants.

@lerno
Copy link
Contributor

lerno commented Aug 11, 2025

I recommend:

syn match c3UserType display "_*[A-Z][A-Z0-9_]*[a-z][a-zA-Z0-9_]*"

And a user defined attribute should hav the same regex but start with @, so could you please update that one as well?

@xfcasio
Copy link
Author

xfcasio commented Aug 13, 2025

good now?

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.

2 participants