Skip to content

Suggestion: syntax/rust.vim: Add highlighting for user-defined types #142

Open
@Ploppz

Description

@Ploppz

At the moment, I have this extra line (maybe not perfect) in rust.vim:
syn match Type "\v[A-Z]\w*[a-z0-9]"

Furthermore, if it's decided to add something like this, it would be nice if it could have precedence over rustModPath, for cases like Object::new();.

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