Open schumannd opened 4 years ago
Have also experienced this. Would be really nice to get a fix for it.
Unfortunately this is a limitation in sublime's regex system, it only works on a line by line basis :c Some solutions have been proposed to the sublime dev's https://github.com/SublimeTextIssues/Core/issues/2241
Whenever my arguments get too long for my max line length and i spread them out, naomi syntax highlighting breaks
The code below the function also gets highlighted incorrectly afterwards, depending on what (valid) js code the function contains.
Are there any other syntaxhighlighters that handle ES6 + typing (i.e. flowtype)? For now naomi seems to do the best job, so thanks for that!!