branch: elpa/treesit-fold
commit e36498c9e13552fe5d37d3164007ccb8de2a2be9
Author: JenChieh <[email protected]>
Commit: JenChieh <[email protected]>

    docs: Apply new changes from line-reminder
---
 README.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/README.md b/README.md
index e73c1f60b4..003f4c5b41 100644
--- a/README.md
+++ b/README.md
@@ -477,6 +477,11 @@ turn off `ts-fold-mode`
           ;; Return the face of it's function.
           (line-reminder--get-face (line-number-at-pos pos t))))
 
+  (setq line-reminder-add-line-function
+        (lambda (&rest _)
+          (null (ts-fold--overlays-in 'ts-fold-indicators-window 
(selected-window)
+                                      (line-beginning-position) 
(line-end-position)))))
+
   (advice-add 'line-reminder-transfer-to-saved-lines :after
               ;; Refresh indicators for package `ts-fold'.
               #'ts-fold-indicators-refresh)

Reply via email to