Open
Description
class Test
{
static
{
console.log('here');
}
} // This is highlighted as an error. Removing the } on the previous line "fixes" it.
I tried a .vimrc that only does syntax enable
and includes this plugin. I also tried various colorschemes. Neither made a difference. Wrapping it in some HTML as shown in the image below lets a browser load it without complaint and execute the console.log('here')
(the console.log
is there only to show the browser thinks it’s valid HTML and Javascript, the closing }
is highlighted as an error even without the console.log
line).
Metadata
Metadata
Assignees
Labels
No labels