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

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

[elpa] externals/indent-bars d0406632e3 1/8: Add quiet/loud treesitter e


From: ELPA Syncer
Subject: [elpa] externals/indent-bars d0406632e3 1/8: Add quiet/loud treesitter example
Date: Thu, 19 Sep 2024 12:58:45 -0400 (EDT)

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

    Add quiet/loud treesitter example
---
 examples.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/examples.md b/examples.md
index e34e530878..9b52ee9947 100644
--- a/examples.md
+++ b/examples.md
@@ -1,4 +1,5 @@
 # Example `indent-bars` color/layout possibilities
+
 ## Old Default:
 <img width="514" alt="ib_default" 
src="https://github.com/jdtsmith/indent-bars/assets/93749/4f652554-bede-4aa6-bdbc-233ec843d782";>
 
@@ -119,3 +120,18 @@ Showcasing `:blend`-only current coloring.
 ```
 
 Note: `indent-bars-prefer-character` need not be set unless you prefer to use 
character display in GUI as well.
+
+## Quiet/Loud (with treesitter)
+
+```emacs-lisp
+       (setopt
+               indent-bars-color '(highlight :face-bg t :blend 0.8)
+               indent-bars-pattern "."
+               indent-bars-color-by-depth '(:regexp "outline-\\([0-9]+\\)" 
:blend 0.5)
+               indent-bars-highlight-current-depth '(:blend 1.0 :width 0.4 
:pad 0.1 :pattern "!.!.!." :zigzag 0.1)
+               indent-bars-pad-frac 0.3
+               indent-bars-ts-highlight-current-depth '(no-inherit) ; 
equivalent to nil
+               indent-bars-ts-color-by-depth '(no-inherit)
+               indent-bars-ts-color '(inherit fringe :face-bg t :blend 0.2))
+```
+



reply via email to

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