Skip to content

Functions with parameters on multiple lines are not highlighted properly.  #424

@dsantolo

Description

@dsantolo

Functions with lists of parameters that might begin/end on different lines are not highlighted properly. This means that if you also use Prettier with Sublime, it's formatting will cause this issue to occur for functions with lots of parameters.

Here's an example:

Parameter list closing paren on same line as function name:

Screen Shot 2022-03-20 at 7 29 31 PM

After formatting with prettier (closing paren on different line than opening paren):

Screen Shot 2022-03-20 at 7 35 15 PM

In VSCode:

Screen Shot 2022-03-20 at 7 32 37 PM

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