Difftastic is generally conservative about MSRV, and will only
increase the version when there is a compelling reason (e.g. major
performance improvement, important bug fix in a dependendency).
This version increase will enable us to upgrade crossterm to 0.26, which
has better detection of terminal width on Windows.
I've also clarified MSRV details for other dependencies that cannot
currently be upgraded.
* fix/doc: change git subtree instructions to use https protocol
Typing the instructions as shown resulted in a git error: `Permission denied (publickey) fatal - Could not read from remote repository`. Switching to the https protocol as [suggested online](https://stackoverflow.com/a/33072867) worked.
* doc: complete instructions for language detection
If there are file extensions associated with my language, I want to add them as well!
* whoops, delete duplicate sentences
* doc: update section on configuring parsing.
- The highlighting definitions got moved to a subdirectory -> adjust the path.
- Mention the sub_languages field, which has also been added since the docs were last edited.
* Tweak description of language detection.
Implement support in difftastic for the Ada programming language
using the treesitter grammar provided in 'briot/tree-sitter-ada'.
Language detection depends on the following suffixes:
* adb
* ads
* ada
The presence of the alire TOML file (alire.toml) is also used as
a heuristic.
TreeSitterConfig doesn't seem to have the `name` attribute, anymore.
I discovered this discrepancy while integrating Markdown language parser
in PR #380.
QML is a UI language, and its syntax is basically JSON-like structure
+ JavaScript. The tree-sitter parser is named after the upstream grammar
file qmljs.g, but the canonical language name is QML. So I choose Qml as
the Language enum.
https://doc.qt.io/qt-6/qmlapplications.html