Be explicit about which languages are supported

ida_star
Wilfred Hughes 2021-07-30 00:38:55 +07:00
parent fa69fcc045
commit 79018c63fe
1 changed files with 18 additions and 4 deletions

@ -5,10 +5,24 @@ based on their syntax.
![screenshot](img/difftastic.png)
It is very much unfinished. It works reasonably on very parenthesised
data (lisps, JSON), it works sometimes on other languages with
sufficient parentheses (Rust, JS), and falls back to a line-oriented
diff otherwise.
It currently supports the following languages:
* Clojure
* CSS
* Emacs Lisp
* Go
* JavaScript
* JSON
* OCaml
* Rust
* Scheme
The parsing logic is based on matched delimiters, so difftastic tends
to give best results on heavily parenthesised code (e.g. Lisps or
JSON).
If a file has an unrecognised extension, difftastic uses a
line-oriented diff.
## How It Works