lezer-parser / highlight

Syntax highlighting from Lezer trees
MIT License
31 stars 9 forks source link

v1.1.4 seems to break syntax highlighting #6

Closed joshma closed 1 year ago

joshma commented 1 year ago

Reporting that we've downgraded back to v1.1.3 - yaml highlighting still worked, but e.g. typescript and sql stopped working (in codemirror 6, via https://uiwjs.github.io/react-codemirror/).

marijnh commented 1 year ago

Did you clear your package lock and do a full reinstall? npm upgrade always breaks these packages by duplicating dependencies.

joshma commented 1 year ago

Ah yep, that fixed it. (I uninstalled all codemirror packages and re-installed them together at the same time.) Thanks.