Sublime Forum

BUG: Python syntax parsing mistake

#1

It seems ST is trying to syntax highlight SQL inside my Python strings, and this fails at “#”

Examples:

foo = "INSERT #foo"

works for other SQL keywords too:

foo = "SELECT #foo"

This will color the next line red.
The syntax parser seems to think that I have a syntax error/unclosed string?

0 Likes