Highlighting that seems ignored in CM6

The issue disappears for me if I modify

changing tags with tags = [], and tags with (tags || []) in line 229

My understanding is that function is called the first time with an undefined value, and this causes the plugin to crash and be disabled; preventing this allows the function to be recalled with a suitable value

I’m not sure what is the root cause of the problem (init order?), and why it seems dependent on the specific build system; I’m not knowledgeable enough to address this in a more principled way.

2 Likes