Commit Graph

9217 Commits (99a49ea388062df2ef0e8ca1786cebb489c0202d)
 

Author SHA1 Message Date
Wilfred Hughes 99a49ea388 Run cargo check on macOS too 2022-04-09 23:29:21 +07:00
Wilfred Hughes 1830d286e0 Ensure unchanged MatchedPos have the same number on LHS and RHS
Fixes #246
2022-04-09 21:12:31 +07:00
Wilfred Hughes 1c9ae2fbc6 Fix parsing of built-in Zig identifiers
Fixes #248
2022-04-09 19:38:07 +07:00
Wilfred Hughes 3c6db050dc Roll version 2022-04-09 19:01:54 +07:00
Wilfred Hughes d7b67f267a Make variable name clearer 2022-04-09 16:55:44 +07:00
Wilfred Hughes b4afa6a80e Mention CC and CXX env vars when building
Fixes #244
2022-04-09 15:56:06 +07:00
Wilfred Hughes 053de5acbe Update to Clojure parser with separate symbol positions
See discussion in https://github.com/sogaiu/tree-sitter-clojure/issues/21
2022-04-09 12:41:49 +07:00
Wilfred Hughes bc4e22eee2 Merge commit 'bfa6ab18a326d8a37407aedde24843ba1feac1f1' 2022-04-09 12:26:38 +07:00
Wilfred Hughes 838ad0c048 Add regression test for #181 2022-04-09 12:18:51 +07:00
Wilfred Hughes 36bc2b4462 Update to latest recommended steps for coverage 2022-04-09 12:11:43 +07:00
Wilfred Hughes abfe35de89 Fix compilation of unit tests 2022-04-08 23:13:02 +07:00
Wilfred Hughes 3645d2c122 Print MatchedPos values if we hit this unreachable!() 2022-04-08 23:08:29 +07:00
Wilfred Hughes 2162b5c67b Add a changelog entry for 42884b73a0
Some users seem to be seeing this build failure, e.g. #245.
2022-04-08 22:40:10 +07:00
Wilfred Hughes 1c416733ef Fix nested sliders in C-like languages
Improves #165
2022-04-08 09:41:56 +07:00
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