Skip to content

++ and -- #1085

Open
Open
@ivangeorgiew

Description

@ivangeorgiew

i++ //or i--
if (blabla) {
}

has incorrect syntax (if keyword isn't highlighted)

i++ //or i--
if {
}

works however

syntax match jsOperator "([!|&<>=%/*~^]|+ |- )" skipwhite skipempty nextgroup=@jsExpression

I changed the above line to fix it for me. Don't know if this is the right approach, however so I didn't make a PR.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions