Skip to content

Syntax highlighting wrong for unions #259

@yodaldevoid

Description

@yodaldevoid

Sublime Text Version

Sublime Text 3 (Build 3143)

Rust Enhanced Version

v2.10.0

Operating system

Ubuntu 17.10

Expected behavior

unions should be highlighted like structs.

Actual behavior

union is treated like an unknown keyword.

Steps to reproduce

  1. Write out a union definition like so:
#[repr(C)]
union Example {
    u0: u32,
    u1: u32,
}
  1. Be disappointed that union is not highlighted.

Thank you for your work on this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions