Skip to content

Messed up function call highlighting #406

Closed
@qstrahl

Description

@qstrahl

I'm not sure when this started, but recently the highlighting for function calls has been messed up. Example:

myFunc(args) // "myFunc" highlighted as jsFuncCall; this is correct

if (condition) { // "if" highlighted as jsConditional; this is correct
  myFunc(args); // "myFunc" highlighted as jsFuncName; wrong!

  if (otherCondition) { // "if" highlighted as jsFuncName; double wrong!
    myFunc(args); // "myFunc" highlighted as jsFuncCall again; correct
  }
}

If you keep nesting ifs, it keeps cycling between correct and wrong highlighting.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions