Changelog of @hackage/nix-diff 1.0.20

1.0.20

1.0.19

1.0.18

1.0.17

1.0.16

1.0.15

1.0.14

  • Improve whitespace handling
    • --word-oriented now treats all whitespace characters as word boundaries instead of just spaces

      This matches the behavior of Prelude.words

    • --word-oriented no longer highlights the intervening spaces between words

      This is for consistency with --line-oriented, which doesn't highlight the intervening spaces between lines. Also, you could argue that if the user specifies --word-oriented then they want all new tokens to be highlighted on a word-by-word basis.

    • --line-oriented now no longer introduces a trailing newline at the end of a newline-free segment of text

    • More generally, both --word-oriented and --newline-oriented exactly preserve the original whitespace that was used for word or line boundaries.

1.0.13

1.0.12

1.0.11