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

[Syntax] User defined swift style types kept unhighlited. #6

Open
yaroslavyaroslav opened this issue Sep 29, 2023 · 0 comments
Open
Assignees
Labels

Comments

@yaroslavyaroslav
Copy link

yaroslavyaroslav commented Sep 29, 2023

Describe the syntax error
Not sure whether it's by design, but types like Transition wouldn't be captured towards let's say AMTranstion by support.class.swift because of its limitation to capture only those one, that are starting from a 3 capital letters, which is even from a point of view of Obj-c legacy style naming convention is optional, nothing to say about swift such convention where those capitalised prefixes are claimed as obsolete.

Expected behavior
I expect that all kind of types regardless are they system or user defined would be captured - and therefore highlighted - as support.class.swift, rather than support.other.swift.

Minimum Reproducible Snippet of Swift code

var someVariable1: AMTransition?
var someVariable2: Transition?

Environment (please complete the following information):

  • OS: 14.0 (23A344)
  • Sublime Text: 4152

Additional context
Screenshot 2023-09-29 at 14 07 42

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

No branches or pull requests

2 participants