Skip to content

Instantly share code, notes, and snippets.

@nyctef
Created April 25, 2017 15:40
Show Gist options
  • Save nyctef/9841569d8530560f104bffbbbdeec904 to your computer and use it in GitHub Desktop.
Save nyctef/9841569d8530560f104bffbbbdeec904 to your computer and use it in GitHub Desktop.
highlight line endings from a hex dump
match DiffDelete /0d/
2match DiffChange /0a/
3match DiffAdd /\v(0a )@!0d 0a/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment