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

RE: Prevent vim from automatically comparing lines while diff

Expand Messages
  • David Fishburn
    ... What about just running exuberant tags against your source and saving the output. Then diff the output between the 2 files. This excludes the Win32Class
    Message 1 of 2 , Sep 29, 2004
    • 0 Attachment
      > -----Original Message-----
      > From: Marc Weber [mailto:marco-oweber@...]
      > Sent: Wednesday, September 29, 2004 1:26 AM
      > To: vim@...
      > Subject: Prevent vim from automatically comparing lines while diff
      >
      > My Problem:
      >
      > I want to diff two .cpp files with members like
      >
      > LinuxClass::Membera(int x){
      > ...
      > }
      >
      > and in the other file:
      > Win32Class::Membera(int x){
      > ...
      > }
      >
      > Becaus I'm only interested in the missing/added members I
      > want to tell diff to ignore the difference Win32/Linux

      What about just running exuberant tags against your source and saving the
      output.
      Then diff the output between the 2 files.
      This excludes the Win32Class and LinuxClass (I believe).

      Dave
      --
      Do you use Vim to edit SQL?
      Check the description of these plugins:
      dbext.vim - Provides database access to 10 databases (Oracle, Sybase, SQL
      Server, MySQL,...) (http://www.vim.org/scripts/script.php?script_id=356)
      SQLUtilities - Formatting SQL, generate - columns lists, procedures for
      databases (http://www.vim.org/scripts/script.php?script_id=492)
      sql.vim - SQL indent file for Sybase ASA and Oracle
      (http://www.vim.org/scripts/script.php?script_id=495)
      Intellisense for Vim : SQL, C++, CSharp, Java, JSP, XML, HTML
      (http://www.vim.org/scripts/script.php?script_id=747)
    Your message has been successfully submitted and would be delivered to recipients shortly.