Wilfred Hughes
|
22813808fe
|
Add 'vendor/tree-sitter-hack/' from commit '4770eb21a36307c156cfd2555ddd8e10c304fdc3'
git-subtree-dir: vendor/tree-sitter-hack
git-subtree-mainline: 73c12d2b04
git-subtree-split: 4770eb21a3
|
2022-02-02 23:11:29 +07:00 |
Wilfred Hughes
|
73c12d2b04
|
Syntax highlight comments in Clojure and Common Lisp
These don't mark their comments as 'extra', but use the node kind
"comment" so it's easy to detect them.
|
2022-02-02 23:10:06 +07:00 |
Wilfred Hughes
|
27877e24f8
|
Test comment highlighting in Scala
Turns out that we don't need queries for comments, as we're already
using the is_extra() method for both parsing and highlighting.
Closes #120
|
2022-02-02 23:07:25 +07:00 |
Wilfred Hughes
|
34a1946197
|
Add sample clojure files
|
2022-02-02 23:07:11 +07:00 |
Wilfred Hughes
|
0eba3ecabe
|
Update to the latest tree-sitter version
This is also a minor performance improvement (e.g. saves 1.3% time on
typing_old/new.ml or 3% on elisp_before/after.el).
|
2022-01-31 22:37:05 +07:00 |
Wilfred Hughes
|
d1aa1d4925
|
Line up additions and removals if they affect more than one line
|
2022-01-31 22:23:58 +07:00 |
Wilfred Hughes
|
92c3836672
|
Clarify variable name
|
2022-01-31 22:20:14 +07:00 |
Wilfred Hughes
|
092b238fbd
|
Prefer passing slices over vecs
|
2022-01-31 21:51:38 +07:00 |
Wilfred Hughes
|
7655ce069b
|
Add a unit test for compact_gaps
|
2022-01-31 21:49:25 +07:00 |
Wilfred Hughes
|
52ef67ccbd
|
Treat quoted_string in OCaml as an atom
Fixes #117
|
2022-01-31 21:41:53 +07:00 |
Wilfred Hughes
|
2f3db76bf8
|
Integration is adequate now
Git and Mercurial support is sufficient for most use cases, although
other git clients (e.g. magit) have no support yet.
|
2022-01-30 22:59:49 +07:00 |
Wilfred Hughes
|
5d34df3f33
|
cargo fmt
|
2022-01-30 22:58:38 +07:00 |
Wilfred Hughes
|
4d3fac20d9
|
Next release will be 0.19
|
2022-01-30 22:58:22 +07:00 |
Wilfred Hughes
|
8f6b269492
|
Tag a 0.18.1 release
|
2022-01-30 22:56:19 +07:00 |
Wilfred Hughes
|
01d6cb149f
|
Fix compilation on Rust 1.54
|
2022-01-30 22:54:02 +07:00 |
Wilfred Hughes
|
3c05d979ba
|
Add a helper script for doing releases
|
2022-01-30 18:04:03 +07:00 |
Wilfred Hughes
|
409f7aae75
|
Roll version
|
2022-01-30 18:03:45 +07:00 |
Wilfred Hughes
|
9b77d07e93
|
Store novel lines on hunks
This allows us to recognise lines that have only additions or only
removals, even if we've managed to find a matching opposite line.
Fixes #115
|
2022-01-30 17:53:13 +07:00 |
Wilfred Hughes
|
ea24dd8784
|
Skip unchanged delim and find a fixpoint
This lets us discard more nodes before diffing, improving performance.
Fixes #84
|
2022-01-30 17:20:24 +07:00 |
Wilfred Hughes
|
ad6898fdde
|
Remove node detachment logic
We now only init the next/prev nodes for possibly changed nodes, so
this work is unnecessary.
|
2022-01-30 14:28:38 +07:00 |
Wilfred Hughes
|
4223dd883c
|
Tweak comment wording
|
2022-01-30 14:25:15 +07:00 |
Wilfred Hughes
|
6aa7d59540
|
Expand and improve glossary
|
2022-01-30 14:22:42 +07:00 |
Wilfred Hughes
|
4fa00d5d11
|
Consistent casing in help
|
2022-01-30 11:22:11 +07:00 |
Wilfred Hughes
|
712f4c0bba
|
Print a more helpful message when called with the wrong number of arguments
|
2022-01-30 11:16:25 +07:00 |
Wilfred Hughes
|
760b54e0cf
|
Improve help text
Don't hard code the binary name, and use "you" consistently.
|
2022-01-29 23:24:45 +07:00 |
Wilfred Hughes
|
82ce1ab818
|
Add a --skip-unchanged flag
Closes #98
|
2022-01-29 23:06:42 +07:00 |
Wilfred Hughes
|
2d3b08cc0a
|
Document loop parsing fix
|
2022-01-29 18:22:47 +07:00 |
Wilfred Hughes
|
7e3bdaf125
|
Merge commit 'c7e814975ab0d0d04333d1f32391c41180c58919'
|
2022-01-29 18:19:41 +07:00 |
Wilfred Hughes
|
2c5de5734b
|
Use blue consistently for highlighting comments
|
2022-01-29 18:14:28 +07:00 |
Wilfred Hughes
|
308ad6bb3a
|
Use blue for comments on light backgrounds
Cyan is pretty pale on my machine, even when not using the bright
version.
|
2022-01-29 18:10:27 +07:00 |
Wilfred Hughes
|
2ecbfb5676
|
Update screenshots to show new syntax highlighting
|
2022-01-29 17:54:36 +07:00 |
Wilfred Hughes
|
9a065b65e9
|
Fix unnecessary borrows
|
2022-01-29 16:55:28 +07:00 |
Wilfred Hughes
|
dabaddd709
|
Discuss usage in --help
|
2022-01-29 16:32:53 +07:00 |
Wilfred Hughes
|
037b8bd6cc
|
Use upper case for positional arguments in help too
|
2022-01-29 16:22:02 +07:00 |
Wilfred Hughes
|
db1a356856
|
Use bright/normal line colours depending on background
|
2022-01-29 16:12:59 +07:00 |
Wilfred Hughes
|
36c4520025
|
Provide an environment variable for controlling background colour
Fixes #55
|
2022-01-29 16:07:31 +07:00 |
Wilfred Hughes
|
c38b072fd2
|
Add a --background option
Improves #55
|
2022-01-29 15:58:51 +07:00 |
Wilfred Hughes
|
0abc839481
|
Consistent casing for argument value placeholders
|
2022-01-29 15:45:11 +07:00 |
Wilfred Hughes
|
ebd923acbe
|
Use project and author information from Cargo.toml
Prevents duplication.
|
2022-01-29 15:38:44 +07:00 |
Wilfred Hughes
|
2762e35cf9
|
Prefer long argument help text
This displays the help text on a separate line to the argument name,
which is more readable.
|
2022-01-29 15:38:00 +07:00 |
Wilfred Hughes
|
203a0c3d70
|
cargo fmt
|
2022-01-29 15:36:49 +07:00 |
Wilfred Hughes
|
0eeb91d591
|
Add a --color CLI option
|
2022-01-29 12:38:31 +07:00 |
Wilfred Hughes
|
c15e4d0cd5
|
Remove needless variable
|
2022-01-29 12:19:04 +07:00 |
Wilfred Hughes
|
ad9cb5beb4
|
Clarify which options are for debugging in --help
|
2022-01-29 12:18:11 +07:00 |
Wilfred Hughes
|
c0ba12bf68
|
Add a --width CLI argument
|
2022-01-29 12:13:21 +07:00 |
Wilfred Hughes
|
d37a233b39
|
Use clap for parsing dump-syntax and dump-ts options
|
2022-01-29 12:10:35 +07:00 |
Wilfred Hughes
|
d0fce4c42f
|
Add a unit test for clap args configuration
|
2022-01-29 11:14:06 +07:00 |
Wilfred Hughes
|
934be78573
|
Fix clap deprecation warnings
|
2022-01-29 11:06:44 +07:00 |
Wilfred Hughes
|
5a2e0379aa
|
Update to clap 3
|
2022-01-29 11:01:36 +07:00 |
Wilfred Hughes
|
4d8d258837
|
Clarify argument names
|
2022-01-29 10:28:18 +07:00 |