Loading ...
Sorry, an error occurred while loading the content.

Re: Hybrid Syntax File?

Expand Messages
  • Rich Healey
    ... Thanks Ben, That s exactly what I m looking for. I m also reassured that it wasn t just me unable to find it. Googlegroups reader is pretty useless.. tries
    Message 1 of 3 , Mar 31, 2009
    • 0 Attachment
      On Apr 1, 3:49 am, Ben Fritz <fritzophre...@...> wrote:
      > On Mar 30, 11:17 pm, Rich Healey <healey.r...@...> wrote:
      > > I’m writing trigger functions for my postgreSQL database using
      > > plPython, what this means is that I want vim to highlight everything
      > > up until a line with just
      > > $BODY$
      > > As SQL, then it should highlight everything until the next $BODY$ line
      > > as Python.
      > > The $BODY$ convention is mine, I would like longterm to make it a bit
      > > more flexible so that I can distribute it without the ugly caveat of
      > > having to adhere to my conventions.
      > > I've got the sql.vim and python.vim files open and am looking through
      > > them, but I can't see any obvious way to make it switch at the
      > > markers.
      > http://vim.wikia.com/wiki/Different_syntax_highlighting_within_region...
      > By the way, I searched the wiki for "different syntax region" knowing
      > I wanted this page, but it wasn't in the top hits.
      > What search terms would people expect to use to find this file? We can
      > create a few redirect pages to help you find it.

      Thanks Ben,

      That's exactly what I'm looking for. I'm also reassured that it wasn't
      just me unable to find it.

      Googlegroups reader is pretty useless.. tries to make me top post!

      Thanks again for the help, I love reading this list, people are so
      keen to help.

      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.