Skip to content

_ is treated as word syntax rather than symbol syntax #431

Open
@darkfeline

Description

@darkfeline

Read comments for context.

Old title: Syntax highlighting doesn't support _ in named return

Old description:

The syntax highlighting fails on the _ in cases like:

func getPort() (port int, _ error) {
    // do stuff
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions