I need to get vim to understand that some quoted strings are not to be
treated as such. Specifically:
I have a PostgreSQL syntax highlighting file. This works great for normal 
SQL.
However, the body of a plpgsql function is a quoted string and does not
get highlighted correctly.
SELECT foo FROM bar; <=== syntax colouring works
CREATE OR REPLACE FUNCTION foo (integer, integer) RETURNS boolean AS '
<plpgsql code>
' LANGUAGE 'plpgsql';
<=== syntax highlighting does not work for <plpgsql code>

Could someone give me a few clues about getting this to work.
(Use emacs/$OTHER_EDITOR is not a valid option).

I am game to moving the whole function block into a different .plpgsql
file if the highlighting can work correctly.

Devdas Bhagat


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to