Skip to content

Add missing keywords for Swift #3021

@AvdLee

Description

@AvdLee

Information

  • Language: Swift
  • Plugins: 'none'

Description
Some of Swift's keywords are missing. This issue is here for myself to make a collection over the upcoming week, after which I'm happy to implement this myself. If you're reading this, feel free to open up a PR adding support for these keywords!

  • associatedtype
  • @autoclosure
  • @discardableResult
  • @dynamicMemberLookup
  • fileprivate
  • @resultBuilder
  • @unknown

Also, not sure if this code is currently highlighted wrong as well:

Available

Current:
image

Expected:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions