Wilfred Hughes
6b0009c941
Mention perf improvements from #393 and #395
2022-10-14 13:50:00 +07:00
Wilfred Hughes
02f1cca444
Display stdin CLI arguments as "(stdin)"
...
This improves display for #389 , and makes language detection use
pattern matching on FileArgument rather than comparing literal
strings.
2022-10-14 13:46:30 +07:00
Wilfred Hughes
b4ff28c75e
Fix side-by-side line length when colour is disabled
...
Fixes #406
Looks like this was inadvertently broken in #301 .
2022-10-14 13:15:17 +07:00
Wilfred Hughes
2a6eb7e4f8
Add Debug on SourceDimensions
2022-10-14 11:52:53 +07:00
Wilfred Hughes
b6ddd152d0
Add the ability to configure how many lines of context are shown
...
See #242
2022-10-13 12:34:52 +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
308a9c842a
Update changelog for Swift parser update
2022-10-09 16:02:19 +07:00
Wilfred Hughes
5e84ccefae
Merge pull request #404 from alex-pinkus/upgrade-swift
...
Sync tree-sitter-swift with upstream
2022-10-09 16:00:58 +07:00
Wilfred Hughes
9e7c92eb57
Bump tree-sitter version
2022-10-09 14:59:30 +07:00
Alex Pinkus
c191f5cf47
Sync tree-sitter-swift with upstream
...
Fixes #277
The upstream parser has added new support for a variety of constructs,
including better tracking for `await`. Query load time has also been
substantially improved by simplifying the rules that match patterns.
2022-10-09 12:13:34 +07:00
Wilfred Hughes
dd0c78fefa
Remove setting that can be overridden with an environment variable
2022-10-09 11:25:57 +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
QuarticCat
cd5ba54752
Reduce number of branches of Vertex::eq
2022-10-06 22:33:47 +07:00
QuarticCat
887dec7645
Remove field can_pop_either from Vertex
2022-10-06 22:31:48 +07:00
QuarticCat
7a8044696e
Simplify push_{lhs,rhs}_delimiter
2022-10-06 22:31:38 +07:00
Wilfred Hughes
42d9894ccb
Merge pull request #397 from arialdomartini/patch-1
...
20 known languages => 30
2022-10-01 19:15:02 +07:00
Arialdo Martini
bad57dbac5
20 known languages => 30
2022-10-01 22:33:32 +07:00
Wilfred Hughes
22c1d79a68
Merge pull request #396 from Ethkuil/master
...
Update README-zh-CN.md
2022-09-29 23:03:28 +07:00
Hobart Zhi-xin Lin
ef45eb40b6
Update README-zh-CN.md
...
fix image path
2022-09-30 12:30:54 +07:00
Wilfred Hughes
693b4c9e19
Consistent badge text
2022-09-28 23:21:47 +07:00
Wilfred Hughes
f8c2258024
Make manual translation more prominent
2022-09-28 23:21:11 +07:00
Wilfred Hughes
7e102e1386
Merge pull request #393 from QuarticCat/master
...
Some optimizations
2022-09-28 23:11:57 +07:00
Wilfred Hughes
b44a57733f
Merge pull request #392 from Yeegsing/translation
...
add a link to change the language version
2022-09-28 23:00:10 +07:00
QuarticCat
b88625d09b
Further simplify stack
2022-09-28 20:07:36 +07:00
QuarticCat
3b0edb43a1
Change a RefCell in Vertex to Cell
2022-09-28 05:56:53 +07:00
QuarticCat
2c6972c1b2
Fix more clippy warnings
2022-09-28 05:47:34 +07:00
QuarticCat
fa44d4cd5a
Fix the clippy::clone_double_ref warning
2022-09-28 05:36:08 +07:00
QuarticCat
d48ee2dfdb
Use a faster stack impl
2022-09-28 04:08:42 +07:00
QuarticCat
06b46e9355
Enable thin-LTO
2022-09-28 00:24:18 +07:00
Eric Tao
84f65bd838
Merge branch 'Wilfred:master' into translation
2022-09-27 08:42:58 +07:00
Wilfred Hughes
c638e8ab4b
Factor out a file argument type
2022-09-26 09:23:25 +07:00
Wilfred Hughes
40aa103275
Remove obsolete TODO
2022-09-25 12:53:14 +07:00
Wilfred Hughes
c3927fbb7b
Improve error message when trying to diff a directory against a file
2022-09-25 12:35:27 +07:00
eric.tao
64fecb0ac1
add a link to change the language version
2022-09-25 15:14:45 +07:00
Wilfred Hughes
3d64da9161
Silence clippy warnings in build.rs
2022-09-24 19:40:30 +07:00
Wilfred Hughes
3bf7dea04f
Fix clippy lint name
2022-09-24 19:38:46 +07:00
Wilfred Hughes
345a88fe53
Support - as a CLI argument
...
Fixes #389
2022-09-24 17:23:47 +07:00
Wilfred Hughes
bec79cb40b
Factor out a CLI file access helper function
2022-09-24 17:02:50 +07:00
Wilfred Hughes
b7e95d2b1d
Mention Chinese manual in changelog
2022-09-24 17:01:47 +07:00
Wilfred Hughes
62cb4573ad
Spelling corrections
2022-09-23 23:20:23 +07:00
Wilfred Hughes
4c8779d61e
Fix typo in Chinese manual
2022-09-23 23:13:09 +07:00
Wilfred Hughes
298a23ea5e
Fix permissions on version placeholder script
2022-09-23 23:11:36 +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
b1fcd79da5
Configure translated manual deploy
2022-09-23 23:05:34 +07:00
Wilfred Hughes
4fa09c4cdf
Merge pull request #370 from Yeegsing/translation
...
manual's translation of zh-CN version
2022-09-23 22:55:43 +07:00
Wilfred Hughes
ee688b43f2
--list-languages should respect --color
...
Fixes #387
2022-09-21 21:49:24 +07:00
Wilfred Hughes
c602503dec
Treat . as punctuation
...
Closes #388
2022-09-21 21:39:07 +07:00
Wilfred Hughes
af73c27cd2
Prefer Option for converting tree-sitter nodes to difftastic nodes
2022-09-20 09:12:34 +07:00
Wilfred Hughes
c67a3d339a
Remove debugging code
2022-09-20 09:08:00 +07:00
Wilfred Hughes
cc5580e930
cargo fmt
2022-09-20 09:07:20 +07:00