Skip to content

Flow type value missing semi-colon terminator #517

Closed
@gf3

Description

@gf3

Example snippet:

type State = {
  errorMessages: Array<string>;
  forceValidation: bool;
  invalidFields: Array<string>;
  submitting: bool;
};


//-----------------------------------------------------------------------------
// Blah blah
//-----------------------------------------------------------------------------

function lol() {
   // ...
}

can fix by changing:

syntax region  jsFlowTypeValue      contained matchgroup=jsFlowNoise start=/:/       end=/[,}]/ contains=@jsFlowCluster

to

syntax region  jsFlowTypeValue      contained matchgroup=jsFlowNoise start=/:/       end=/[,};]/ contains=@jsFlowCluster

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