sponsor Vim development Vim logo Vim Book Ad

diffunitsyntax : Highlight word or character based diff units in diff format

 script karma  Rating 4/3, Downloaded by 171  Comments, bugs, improvements  Vim wiki

created by
Rick Howe
 
script type
syntax
 
description
This plugin is an additional vim syntax for diff format and highlights changed/added/deleted diff units on word or character basis, to make it possible to see the actual inline differences. It should work well on a git wrapper plugin such as vim-fugitive and vim-signify.

For details and demo samples, please visit the following git repository: https://github.com/rickhowe/diffunitsyntax.
 
install details
Install 'rickhowe/diffunitsyntax' by using your plugin manager. Or manually unzip and copy all folders in your ~/.vim or ~/vimfiles
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
diffunitsyntax2.0.zip 2.0 2024-10-21 9.0 Rick Howe Added to identify a file including diff indicators as one of diff formats.
diffunitsyntax1.3.zip 1.3 2024-10-11 9.0 Rick Howe Improved to show the previous and next character of a deleted diff unit in underline.
diffunitsyntax1.2.zip 1.2 2024-10-03 9.0 Rick Howe Made it faster to find corresponding changed lines to be compared.
diffunitsyntax1.1.zip 1.1 2024-09-21 9.0 Rick Howe Implemented to check events to dynamically update changed/added diff units.
diffunitsyntax1.0.zip 1.0 2024-09-07 9.0 Rick Howe Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github