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

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

[nongnu] elpa/treesit-fold 6aabbc6256 147/417: Update doc


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold 6aabbc6256 147/417: Update doc
Date: Mon, 1 Jul 2024 10:02:20 -0400 (EDT)

branch: elpa/treesit-fold
commit 6aabbc6256ace0cd8e458559d3959f3c268f469e
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>

    Update doc
---
 README.md | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index eb19d3cf7c..bc6411a4d4 100644
--- a/README.md
+++ b/README.md
@@ -129,8 +129,26 @@ with this plugin.
 This plugin automatically extract summary from the comment/document string,
 so you can have a nice way to peek what's inside the fold range.
 
-If you don't want this to happens, do: (Default is `t`)
+If you don't want this to happen, do: (Default is `t`)
 
 ```el
 (setq tree-sitter-fold-summary-show nil)
 ```
+
+Summary are truncated by length: (Default is `60`)
+
+```el
+(setq tree-sitter-fold-summary-max-length 60)
+```
+
+The exceeding string are replace by: (Default is `"..."`)
+
+```el
+(setq tree-sitter-fold-summary-exceeded-string "...")
+```
+
+To change summary format: (Default is `" <S> %s "`)
+
+```el
+(setq tree-sitter-fold-summary-format " <S> %s ")
+```



reply via email to

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