In Postgres there are code blocks in which other languages like Python can be used:
DO $$
# PL/Python code
$$ LANGUAGE plpythonu;
I’d like to have Python highlighting inside that block and tried this:
- match: '(?i)(\$plpython3?u\$)$'
push: Packages/Python/Python.sublime-syntax
with_prototype:
- match: \1
pop: true
I want the Python highlighting to completely take over control in that block, but only the keywords are recognized. What am I getting wrong here?