Commit Graph

9198 Commits (1f2d8bd7ab0783efe9c4b8b3e8bee61303a513da)
 

Author SHA1 Message Date
Wilfred Hughes 1f2d8bd7ab Add FAQ 2022-04-07 09:31:32 +07:00
Wilfred Hughes 939421e96f This field does not need to be public 2022-04-04 22:03:20 +07:00
Wilfred Hughes 163474cf41 Prefer the .change helper method on Syntax 2022-04-04 22:02:28 +07:00
Wilfred Hughes bdb68cd676 Support @boolean and @character highlighting queries 2022-04-03 22:36:15 +07:00
Wilfred Hughes 10a0e2dba9 Improve YAML handling
Fix atom handling and add syntax highlighting
2022-04-03 22:26:33 +07:00
Wilfred Hughes 0c1e539373 Update CHANGELOG and manual for new languages 2022-04-03 22:10:09 +07:00
Wilfred Hughes 9245aada8f Merge remote-tracking branch 'alexmanno/add_yaml_support'
Closes #208
2022-04-03 22:08:44 +07:00
Wilfred Hughes d74adea224
Merge pull request #223 from ap-nri/add-elm-support
Add elm support
2022-04-03 22:00:56 +07:00
Alex Perkins f5ab6e7e86
add newline to module exports 2022-04-03 21:37:17 +07:00
Alex Perkins 469f84b605 Add 'vendor/tree-sitter-elm/' from commit '5128296ba8542853d59e6b7c8dfe3d1fb9a637ea'
git-subtree-dir: vendor/tree-sitter-elm
git-subtree-mainline: d6e9afd3d6
git-subtree-split: 5128296ba8
2022-04-03 20:19:54 +07:00
Alex Perkins d6e9afd3d6 add support for Elm 2022-04-03 20:18:33 +07:00
Wilfred Hughes 3bdf8c3e80 Make --dump-ts less verbose
Saying Node at each node is redundant and distracting.
2022-04-03 15:22:10 +07:00
Wilfred Hughes 01678f8556 Don't pad the right column in side-by-side display
Helps with #209 too.
2022-04-03 11:30:19 +07:00
Wilfred Hughes 601f411467 cargo fmt 2022-04-03 11:19:05 +07:00
Wilfred Hughes 83bee32bb4 Move Side to a separate file, document and improve naming 2022-04-03 11:13:45 +07:00
Wilfred Hughes 81db99e51e Update regression test for Gleam 2022-04-03 10:50:54 +07:00
Wilfred Hughes 42884b73a0 Build C dependencies before C++ to fix linking on Rust nightly
See discussion in https://github.com/rust-lang/rust/issues/95561
2022-04-03 10:41:49 +07:00
Wilfred Hughes 669ee1af89 Disable coverage as cargo-llvm-cov depends on rust nightly
Nightly no longer compiles difftastic due to a rust issue with
linking: https://github.com/rust-lang/rust/issues/95561
2022-04-02 22:28:19 +07:00
Wilfred Hughes 03b8a4cb5a Update changelog and parser docs for recent additions 2022-04-02 17:21:39 +07:00
Wilfred Hughes 28c6e35943 Merge #205 2022-04-02 17:18:59 +07:00
Wilfred Hughes 9606afad46
Merge pull request #218 from Andoryuuta/zig-support
Add Zig support
2022-04-02 17:08:13 +07:00
Wilfred Hughes 276be1528c Prefer the upstream cargo-llvm-cov CI step 2022-04-02 16:17:34 +07:00
Wilfred Hughes 1df4971deb Grammar fix in manual 2022-04-02 16:12:13 +07:00
Wilfred Hughes a4ca19f9f9 Pin nightly version due to build failures with more recent versions
Seeing failures on rustc 1.61.0-nightly (0677edc86 2022-03-31).
2022-04-02 16:07:41 +07:00
Wilfred Hughes e472acb805 Add a --language option to override language detection
Fixes #199
2022-04-01 23:10:48 +07:00
Wilfred Hughes e3d91d6dcc Move header checks out of from_extension 2022-04-01 22:24:12 +07:00
Wilfred Hughes 97b9a13d15 Expose a proper `--display` CLI option
This helps with discovery of the different display options available,
such as inline (see #34).
2022-04-01 22:15:24 +07:00
Andrew Gutekanst 7881e4eb10 Merge commit '4cff36421dae9c05388b86cd64d2bab4b9ed6676' into zig-support 2022-04-02 00:29:00 +07:00
maxxnino 4cff36421d
Add MIT license
fixed #13
2022-04-02 10:33:48 +07:00
maxxnino 664ebbf264
Merge pull request #12 from gpanders/multiline-string-prefix
Include leading \\ characters as anonymous nodes
2022-04-02 10:28:46 +07:00
Gregory Anders 2761ae356c
Include leading \\ characters as anonymous nodes
Include the leading \\ characters for multiline strings as anonymous
nodes in the parsed tree. This allows highlighters to highlight these
characters separately from the rest of the string.
2022-04-02 12:24:46 +07:00
Wilfred Hughes e9992a60f4 Clarify the limitations of patch files
See also #186.
2022-04-01 09:38:08 +07:00
Wilfred Hughes 16d5d2350d Clarify wording 2022-04-01 09:30:07 +07:00
Wilfred Hughes 1f8b6fe377 Mention the minimum GCC version following #187 2022-04-01 09:24:16 +07:00
Jacob Rothstein 9945270f4b
add gleam
# Conflicts:
#	CHANGELOG.md
#	README.md
2022-03-31 14:08:05 +07:00
Jacob Rothstein 04fc2af501 Add 'vendor/tree-sitter-gleam/' from commit 'a1fc486493ce8ad6dc3abf0203c239c2b614811a'
git-subtree-dir: vendor/tree-sitter-gleam
git-subtree-mainline: bef93e9626
git-subtree-split: a1fc486493
2022-03-31 13:56:38 +07:00
Wilfred Hughes bef93e9626 Roll version 2022-03-31 09:47:58 +07:00
Andrew Gutekanst 82071d70c1 Merge upstream changes and resolve conflict 2022-03-31 12:42:57 +07:00
Andrew Gutekanst 6c2504a34f Add expected Zig diff results for CI check 2022-03-31 12:38:17 +07:00
Andrew Gutekanst c601e157d6 Cargo fmt 2022-03-31 12:35:21 +07:00
Wilfred Hughes 299c321e72 Treat interpolated strings as atoms in PHP
This makes diffing slightly less useful for large strings, but it's
consistent with the other languages.
2022-03-31 09:34:03 +07:00
Wilfred Hughes a1ec5e88e8 Fix side-by-side display when source contains CRLF
Fixes #212
2022-03-31 09:32:21 +07:00
Alessandro Manno f0ea7dc44e
Merge branch 'master' into add_yaml_support
# Conflicts:
#	README.md
2022-03-31 11:23:15 +07:00
Wilfred Hughes 8d44b2476a Expand 'Adding a parser' as a separate chapter in the manual 2022-03-30 23:58:50 +07:00
Wilfred Hughes 1593de4208 Remove redundant parentheses 2022-03-30 23:35:44 +07:00
Wilfred Hughes 559d0f9b6b Fix Java delimiters `[` and `]` 2022-03-30 23:23:44 +07:00
Wilfred Hughes c4c05fdde5 Prefer a single language list, in the manual
It's easy for these to get out of sync.
2022-03-30 22:50:17 +07:00
Wilfred Hughes e653b77194 Hack is not currently supported 2022-03-30 22:46:40 +07:00
Wilfred Hughes 5703f75568 Don't assume that lines end with newlines
Previously we would crash if the last line in a file had no trailing
newline and ended with a multibyte character.

Closes #217
2022-03-30 22:42:17 +07:00
Wilfred Hughes ff37192918 Update changelog for last commit 2022-03-30 20:56:12 +07:00