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

diff region conflicting with diff match

Expand Messages
  • Shaun Jackman
    Can the same pattern be used in both a diff region and a diff match. For example, diff.vim contains syn match diffAdded ^+.* syn match diffRemoved ^-.*
    Message 1 of 1 , Jun 25, 2003
      Can the same pattern be used in both a diff region and a diff match. For
      example, diff.vim contains
      syn match diffAdded "^+.*"
      syn match diffRemoved "^-.*"
      and I want to add
      syn region diffRegion start="^+++ " end="^--- " transparent fold
      The two seem to be incompatible though. It seems like diffRemoved is
      swallowing up the characters I need for the end pattern of diffRegion.
      Can these two be made to co-exist?

      Thanks,
      Shaun
    Your message has been successfully submitted and would be delivered to recipients shortly.