aerobounce / Swift-Next

Swift syntax package in async/await era, with extra features, for Sublime Text.
MIT License
37 stars 6 forks source link

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

Closed yaroslavyaroslav closed 1 month ago

yaroslavyaroslav commented 1 year ago

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):

Additional context

Screenshot 2023-09-29 at 14 07 42