Skip to content

Incorrect highlighting of keywords on latest commit #174

Closed
@dchrzanowski

Description

@dchrzanowski

Keywords such as if or for are highlighted as functions when standalone or in comments.

Test the following:

if (true) { // if highlights as a function
}

for (const x in y) { // for highlights as a function
}

// same with the below
// if (true) {  
// }

// for (const x in y) {
// }

// foo bar object

For me the word object is highlighted as a function when in a comment.

Possibly caused by #172

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions