Going to move this to #feedback feedback as this seems like a bug.
Ok, thanks! Sorry, I looked for a bug section but didn’t find one
I suppose feedback is the closest thing to a bug.
You can also make a post of the CodeMirror forum as this relates to the CodeMirror editor.
This also happens when using socket.io for the client side. As socket.io is in an other file, the socket variable is never defined in the outside and is marked as an error in the editor but works fine in the browser.
Add the code
/* global myvar1 myvar2 etc */
to the to of your files
sorry, doesn’t work
Sorry, nvm, it works!