Commit Graph

165 Commits (7077c39b0ba09e895c42a8cdf0be7dc89639a800)

Author SHA1 Message Date
grunweg 98cc1b5745
doc: extend description of mercurial configuration (#507) 2023-04-30 09:18:37 +07:00
grunweg 79a91f0db2
doc: update mercurial configuration example
The `--missing-as-empty` option has been removed in version 0.46.
2023-04-28 16:05:17 +07:00
Wilfred Hughes efd57ddbae Update changelog and manual for Solidity support 2023-04-12 00:56:13 +07:00
Wilfred Hughes 43e561dc34 Link to the changelog in the installation instructions 2023-04-01 16:19:14 +07:00
Wilfred Hughes bc1b5b8217 We're now using the upstream clojure parser directly 2023-03-15 23:25:22 +07:00
Wilfred Hughes 312be7c65d Fix URL in manual 2023-03-15 15:59:39 +07:00
Karl Ding 5271f65f92 Add language support for Ada
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.
2023-03-14 21:46:40 +07:00
Wilfred Hughes c404917502 Update changelog and manual for Newick 2023-02-21 08:46:55 +07:00
Wilfred Hughes 9556cd978e Merge branch 'delehef/master' 2023-02-21 08:46:07 +07:00
Franklin Delehelle 21ded51e90 Add newick example files 2023-02-21 08:45:49 +07:00
Wilfred Hughes bdb314de45 Add Racket to the list of languages in the manual 2023-02-21 08:32:38 +07:00
Wilfred Hughes ad4c0d8b9c Fix folder name in manual 2023-01-26 08:50:13 +07:00
Wilfred Hughes 5ed4bac8a5 Add support for R
Fixes #470
2023-01-26 08:50:00 +07:00
Wilfred Hughes 5dfa4b64a9 Update new parser instructions 2023-01-26 08:16:06 +07:00
Wilfred Hughes 61a8d1a99f Fix mercurial example
Piping to less as shown just feeds control codes to less, which isn't
useful.

Closes #461
2023-01-13 08:33:55 +07:00
Wilfred Hughes 08b3ff138f Rename vendor/ directory
Closes #453
2023-01-10 08:35:01 +07:00
Wilfred Hughes c6d8dedc5d Fix duplicate word in manual 2023-01-08 21:33:55 +07:00
Wilfred Hughes a2f22cb17c Only set the exit code if --exit-code is set
This is important for usage with git log, which terminates on non-zero
exit codes.
2022-12-18 23:11:18 +07:00
Wilfred Hughes 6a46237bb0 Set the exit code when changes are found
Closes #285
2022-12-18 00:28:54 +07:00
Wilfred Hughes afc78e976d Document Erlang support and add test
Fixes #394
2022-12-15 23:30:45 +07:00
Wilfred Hughes c152c41691 Document punctuation atoms 2022-10-25 16:12:47 +07:00
Gurjeet Singh cbfc70c0b5 Remove TreeSitterConfig.name from documentation
TreeSitterConfig doesn't seem to have the `name` attribute, anymore.

I discovered this discrepancy while integrating Markdown language parser
in PR #380.
2022-10-24 23:06:20 +07:00
Wilfred Hughes a40d93e26c Show possible and desired results in tricky cases manual section 2022-10-09 23:48:21 +07:00
Wilfred Hughes 6630d5f480 Ensure highlighted text has contrast in all manual colour schemes
Fixes #374
2022-10-09 11:12:55 +07:00
Wilfred Hughes f8c2258024 Make manual translation more prominent 2022-09-28 23:21:11 +07:00
eric.tao 64fecb0ac1 add a link to change the language version 2022-09-25 15:14:45 +07:00
Wilfred Hughes 345a88fe53 Support - as a CLI argument
Fixes #389
2022-09-24 17:23:47 +07:00
Wilfred Hughes 78dabcabce Remove unused manual configuration item
This 'multlingual' option isn't mentioned in the mdbook docs as far as
I can see.
2022-09-23 23:08:54 +07:00
Wilfred Hughes ba6d73bcf4 Document Hare in manual and changelog 2022-09-15 09:39:41 +07:00
Wilfred Hughes 4319a9db04 Almost 40 languages now! 2022-09-12 23:14:39 +07:00
Yuya Nishihara 84f0b25fb6 Add support for QML
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
2022-09-10 11:38:35 +07:00
Wilfred Hughes 4c9a12a905 Clarify position symbols in diff diagrams in manual 2022-09-05 17:20:13 +07:00
Wilfred Hughes 7422cb8f2e Document nested sliders case in manual 2022-09-05 15:06:10 +07:00
Wilfred Hughes a9866e1187 Mention --list-languages in the manual 2022-09-02 12:58:36 +07:00
Wilfred Hughes 659f2dd6bd Add support for Makefiles 2022-08-28 16:26:01 +07:00
Wilfred Hughes ae799f39d9 Document environment variables in manual 2022-08-27 17:53:18 +07:00
Wilfred Hughes 734a638ca2 Difftastic uses several factors to detect the language 2022-08-27 17:30:22 +07:00
Wilfred Hughes 515932151f Merge branch 'cmake' 2022-08-20 18:36:07 +07:00
Wilfred Hughes bbdc324b7f Add CMake support
Fixes #333
2022-08-20 18:32:32 +07:00
Wilfred Hughes eb0817468e Update manual for rustc bump 2022-08-12 21:51:34 +07:00
Wilfred Hughes 5d93efa51a Document Elm support in the manual and changelog
This was added in 0.26.
2022-08-02 09:15:11 +07:00
Wilfred Hughes b9f048e87e Add newlines for clarity 2022-07-21 00:45:37 +07:00
Wilfred Hughes 8547987830 Add Hacklang support 2022-07-11 22:13:37 +07:00
Wilfred Hughes e8865905b7 Mention SQL in the manual 2022-07-11 19:28:13 +07:00
Wilfred Hughes 75fe85017b Add Julia to languages table 2022-07-04 22:44:36 +07:00
Wilfred Hughes 5fcd778503 Clarify wording for adding syntax highlighting 2022-07-04 19:16:31 +07:00
Benjamin Manns 99813e7ff0 Add entry to adding_a_parser.md about sliders 2022-07-01 12:23:36 +07:00
Benjamin Manns d131ae1d35 Add HTML parser 2022-07-01 12:23:20 +07:00
Wilfred Hughes 43a03d2939 Tweak slogan to clarify that difftastic understands structure
"Understands syntax" is sometimes confused with syntax highlighting.
2022-05-23 23:39:15 +07:00
Wilfred Hughes 6970b443b0 Document MIME database configuration and paths 2022-05-19 23:19:54 +07:00