Hugh Sasse <hgs <at> dmu.ac.uk> writes:

> So, we run into a problem: how does one syntax highlight mixed
> language code?  

This works well for me, but needs delimters to indicate the appropriate syntax.

http://www.vim.org/tips/tip.php?tip_id=856

So in my Python code, for example, I might have:
...
#{{{sql
bar_sql = """
Select foo, baz 
>From bar
"""
#sql}}}

cur.execute(bar_sql)
...

Peace,
David S.


Reply via email to