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

Next prolog.vim (Re: vim syntax for prolog)

Expand Messages
  • Thomas Köhler
    ... Well, you re right. Silly me, that s exactly what I intended to do. :) Ciao, Thomas -- Thomas Köhler Email: jean-luc@picard.franken.de | LCARS -
    Message 1 of 1 , Jun 5, 2002
    • 0 Attachment
      Ales Horak wrote [2002/06/05 11:55]:
      > Thomas Köhler wrote:
      > > But adding another line to prolog.vim that catches the special
      > > case
      > > pred:-write('hello').
      > > seems to fix the problem without adding ill side effects:
      > >
      > > syn match prologClauseHead +^[a-z][^:]*:-\|\.\|-->+
      > >
      > > I've Cc'ed vim-dev so that Bram can add the new prolog.vim to the
      > > distribution, the new prolog.vim is attached. Please try whether
      > > this works for you. (For me, it works fine :)
      >
      > this does not catch simple facts:
      >
      > pred:-do_something,fail.
      > pred.
      > ^^^^ - not highlighted
      >
      > I suggest to change the highlighting to
      >
      > syn match prologClauseHead +^[a-z][^:.-]*\(:-\|\.\|-->\)+

      Well, you're right. Silly me, that's exactly what I intended to
      do. :)

      Ciao,
      Thomas

      --
      Thomas Köhler Email: jean-luc@... | LCARS - Linux
      <>< WWW: http://jeanluc-picard.de | for Computers
      IRC: jeanluc | on All Real
      PGP public key available from Homepage! | Starships
    Your message has been successfully submitted and would be delivered to recipients shortly.