diff options
| author | Yuan Fu | 2023-01-08 20:30:07 -0800 |
|---|---|---|
| committer | Yuan Fu | 2023-01-08 21:22:28 -0800 |
| commit | 1f8ad353d9fbf8fb7706e91dda336dfd650b57cc (patch) | |
| tree | b8f7293d9b72cbbf5b938a12b4dac2ec3fe134fa /java | |
| parent | ef87c75566018b546e56f64f66f665ebfd8da305 (diff) | |
| download | emacs-1f8ad353d9fbf8fb7706e91dda336dfd650b57cc.tar.gz emacs-1f8ad353d9fbf8fb7706e91dda336dfd650b57cc.zip | |
Minor improvement for tree-sitter explorer
If you open an empty python buffer and type
1 + 2
a
b
Currently the explorer only displays the top-level node at point, ie,
only 1 + 2, only a, or only b. That's kind of awkward, so if the
buffer is small, show the entire parse tree.
* lisp/treesit.el (treesit--explorer-refresh): See above.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions