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

14318Re: CVS commit syntax

Expand Messages
  • Scott Bigham
    Jul 1, 2000
    • 0 Attachment
      On Jun 30, 2000, Michael Schaap wrote:

      > I think I know a better way. As far as I know, the second line of a CVS
      > commit file always starts with "CVS:" Therefore, if the following is added
      > to scripts.vim:
      >
      > " CVS commit
      > elseif getline(2) =~ '^CVS:'
      > set ft=cvs
      >
      > it should work everywhere.
      >
      > Any comments? (Sorry, no patch)

      That's what I did with my personal hacklet on the subject (all I did was
      highlight the 'CVS:' lines as comments, though), and it's always worked
      for me.

      -sbigham
    • Show all 2 messages in this topic