codemirror / dev

Development repository for the CodeMirror editor project
https://codemirror.net/
Other
5.44k stars 343 forks source link

PostgreSQL dialect: Anonymous block code not color-coded properly #1361

Closed frdclav closed 2 months ago

frdclav commented 3 months ago

Describe the issue

Anonymous block is not colorcoded properly when using the PostgreSQL dialect. Is it possible to get a fix for this? Please let me know if I can provide more info here, thank you!

https://codesandbox.io/p/devbox/keen-grothendieck-nx45sd-7k4j5k

Screenshot 2024-03-26 at 10 56 22 AM

Browser and platform

No response

Reproduction link

https://codesandbox.io/p/devbox/keen-grothendieck-nx45sd-7k4j5k

marijnh commented 3 months ago

The text between the $$ markers is a string literal. What were you expecting to happen here?