Turn off Safe Mode/Prefer Ecmascript standard mode.
ryanpcmcquen opened this issue · 2 comments
ryanpcmcquen commented
ryanpcmcquen commented
Seems like one workaround is to have an ecmascript-js.sublime-settings
file under Packages/User
:
{
"extensions":
[
"js"
]
}
blake-regalia commented
Not sure why this happened for you. But yea sometimes depending on other JS packages you have installed can mess with syntax settings. Another way to fix which does same thing is open a .js file and go View > Syntax > Open all with current extension as > Ecmascript Syntax > Ecmascript.