Wilfred Hughes
beacd69dd2
Merge commit 'cc26b1ef111100f26a137bcbcd39fd4e35be9a59'
2022-07-10 23:20:32 +07:00
Wilfred Hughes
548b7c1d17
Updated JSON parser
2022-07-10 23:08:29 +07:00
Wilfred Hughes
40f82151f7
Merge commit '368736a6137770f785e1e7479a6be29417eb13aa'
2022-07-10 23:08:16 +07:00
Wilfred Hughes
ecff4f8036
Updated Java
2022-07-10 23:06:25 +07:00
Wilfred Hughes
3e0c108afe
Merge commit 'ac14b4b1884102839455d32543ab6d53ae089ab7'
2022-07-10 23:05:53 +07:00
Wilfred Hughes
9e1744bf02
Updated HCL parser
2022-07-10 23:04:12 +07:00
Wilfred Hughes
a6eb1fb41d
Merge commit '45ce22c16ec924e34517cf785e23c07952e45893'
2022-07-10 23:03:39 +07:00
Wilfred Hughes
18078a0e37
Updated Haskell parser
2022-07-10 23:00:55 +07:00
Wilfred Hughes
2e0a7da8ea
Merge commit 'cf394604ae2ec2a5e65b1afbc7dea21258ede403'
2022-07-10 23:00:27 +07:00
Wilfred Hughes
c5a5555862
Update Gleam parser
2022-07-10 22:58:50 +07:00
Wilfred Hughes
cd73d4954f
Merge commit '85c0753e8ed98d93bb4a238ca485ef4e1fdce4f5'
2022-07-10 22:51:36 +07:00
Wilfred Hughes
dead5e8a8a
Update changelog for Elm parser bump
2022-07-10 22:49:01 +07:00
Wilfred Hughes
25f599838a
Merge commit 'a9a8efad446f78db3989d7ed8517987daf510c83'
2022-07-10 22:47:38 +07:00
Wilfred Hughes
6b3d8e24f6
Updated Dart parser too
2022-07-10 22:43:38 +07:00
Wilfred Hughes
7cfca8a39f
Merge commit '6fc75e0478e89a6adef4903069b0035247378665'
2022-07-10 22:38:31 +07:00
Wilfred Hughes
cc4501c645
Document the C# parser update
2022-07-10 22:31:04 +07:00
Wilfred Hughes
2f860012d3
Merge commit '9c494a503c8e2044bfffce57f70b480c01a82f03'
2022-07-10 22:30:36 +07:00
Wilfred Hughes
2071517621
Fix duplicate newlines in inline display mode
...
Fixes #314
2022-07-10 20:28:42 +07:00
Wilfred Hughes
75fe85017b
Add Julia to languages table
2022-07-04 22:44:36 +07:00
Wilfred Hughes
0e7ab02741
Mention syntax highlighting fixes in last release
...
Introduced by d785886294
2022-07-04 20:07:49 +07:00
Wilfred Hughes
c745de51b0
Roll version
2022-07-04 20:05:31 +07:00
Wilfred Hughes
36e11985ce
Mention Julia in changelog
2022-07-04 20:04:27 +07:00
Wilfred Hughes
d05a3d9373
Add Julia sample files
2022-07-04 19:57:00 +07:00
Wilfred Hughes
975ff6eedd
Update regression tests now that @conditional is highlighted
...
This is mostly `if` keywords in various positions now being
highlighted as keywords.
2022-07-04 19:54:00 +07:00
Wilfred Hughes
ddb4bc7013
Show context when regression test fails
2022-07-04 19:51:04 +07:00
Wilfred Hughes
d785886294
Add syntax highlighting for Julia
2022-07-04 19:35:34 +07:00
Wilfred Hughes
5fcd778503
Clarify wording for adding syntax highlighting
2022-07-04 19:16:31 +07:00
Wilfred Hughes
7cda64e0bc
Add Julia symlink for building
2022-07-04 17:57:38 +07:00
Wilfred Hughes
970fd7f9d3
Add Julia support
...
Fixes #284
2022-07-04 15:50:28 +07:00
Wilfred Hughes
9c19905c22
Add 'vendor/tree-sitter-julia/' from commit 'fc60b7cce87da7a1b7f8cb0f9371c3dc8b684500'
...
git-subtree-dir: vendor/tree-sitter-julia
git-subtree-mainline: 9cff13985e
git-subtree-split: fc60b7cce8
2022-07-04 15:25:30 +07:00
Wilfred Hughes
9cff13985e
Update changelog for #301
2022-07-04 15:23:38 +07:00
Wilfred Hughes
d72251f9fa
cargo fmt
2022-07-04 15:11:38 +07:00
Wilfred Hughes
719654d462
Merge pull request #301 from lilydjwg/master
...
use unicode-width to align CJK characters
2022-07-04 15:07:25 +07:00
Wilfred Hughes
156c701459
Add large files from #293 for test
...
This file pair exposed a bunch of perf issues, so it's useful to keep
it around.
2022-07-03 22:18:30 +07:00
Wilfred Hughes
d70cc70971
Silence C++ warning from tree-sitter-html
2022-07-03 22:11:29 +07:00
Wilfred Hughes
2d43075841
HTML: include doublequotes in attribute atoms
2022-07-03 22:11:25 +07:00
Wilfred Hughes
493a4bd62a
Merge pull request #305 from benmanns/add-html-parser
...
feat: Add HTML parser
2022-07-03 21:41:18 +07:00
Wilfred Hughes
d96ccc884f
Merge branch 'master' into add-html-parser
2022-07-03 21:40:57 +07:00
lilydjwg
0648b0a6cf
add sample_files for Chinese (CJK fullwidth characters)
...
One of the other three "expected" updates is caused by a fullwidth emoji
and others are removal of colored empty strings.
2022-07-04 12:01:49 +07:00
lilydjwg
5d2fdf65b9
split_string_by_width: return &str to avoid allocations
...
since we're returning padding numbers, we no longer allocate for new Strings any more.
2022-07-04 11:49:06 +07:00
lilydjwg
526b24d00d
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/display/side_by_side.rs
2022-07-04 11:04:22 +07:00
lilydjwg
612d45196a
split_string_by_width: since we pad in the middle, we need to tell split_and_apply how many bytes we've padded
2022-07-04 10:55:38 +07:00
Wilfred Hughes
f10cfa00cc
Limit the graph size based on the number of predecessors found
...
Fixes #183
Fixes #306
2022-07-03 18:23:17 +07:00
Wilfred Hughes
338e815e9b
More clippy fixes
2022-07-03 11:23:18 +07:00
Wilfred Hughes
51ddcef393
Make clippy happier
2022-07-03 11:20:44 +07:00
Wilfred Hughes
186a2f98f1
Take the shortest edge when constructing the path
...
Previously we assumed that there was a single edge between nodes. This
is true of the current implementation, but not in all experiments.
This is also a tiny performance win (0.2% instruction count reduction).
2022-07-03 11:16:33 +07:00
Fisher Sun
cf394604ae
Use nvim-treesitter version of highlights.scm ( #87 )
...
This commit replaces highlights.scm with nvim-treesitter's version.
To comply with nvim-treesitter's Apache license,
I have added a copy of the Apache License.
I have also added the Apache boilerplate to the top of highlights.scm
to clarify its license.
2022-07-02 11:46:11 +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
Benjamin Manns
edce245beb
Add 'vendor/tree-sitter-html/' from commit '29f53d8f4f2335e61bf6418ab8958dac3282077a'
...
git-subtree-dir: vendor/tree-sitter-html
git-subtree-mainline: 5c19ac600d
git-subtree-split: 29f53d8f4f
2022-07-01 12:23:11 +07:00