emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars a618015bb5 145/431: Add treesit before/afte


From: ELPA Syncer
Subject: [elpa] externals/indent-bars a618015bb5 145/431: Add treesit before/after images
Date: Mon, 16 Sep 2024 12:59:22 -0400 (EDT)

branch: externals/indent-bars
commit a618015bb55adc21b6fd14f822f74a91d973f892
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Add treesit before/after images
---
 README.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 5f27f6ebde..bf3ce6eac0 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,13 @@ The heaviest operations (though still quite efficient) are 
**tree-sitter** based
 
 ## Tree-sitter
 
-`indent-bars` can optionally use tree-sitter when configured in supported 
files to improve the calculation of bar depth.  For example, many modes wrap 
function calls and definitions to align parameters with the opening `(`.  With 
the help of tree-sitter, `indent-bars` can avoid adding unwanted additional 
bars there.  It can also be used to identify strings, and to tweak the behavior 
of blank line display.  See options above.
+`indent-bars` can optionally use tree-sitter when configured in supported 
files to improve the calculation of bar depth.  For example, many modes wrap 
function calls and definitions to align parameters with the opening `(`.  With 
the help of tree-sitter, `indent-bars` can avoid adding unwanted additional 
bars there.  It can also be used to identify strings, and to tweak the behavior 
of blank line display.  See options above.  
+
+I.e. turn this:
+<img width="580" alt="Untitled" 
src="https://github.com/jdtsmith/indent-bars/assets/93749/f1cb2489-92ee-443d-b941-6237b386ca6f";>
+
+into this:
+<img width="580" alt="Untitled 2" 
src="https://github.com/jdtsmith/indent-bars/assets/93749/b0c26c5b-6b38-475f-9bb8-9f1b1f5e54f0";>
 
 **Note**: This requires Emacs 29 built with tree-sitter support, and the 
appropriate tree-sitter grammars installed for languages of interest.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]