[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 2d175b74ad 375/417: chore: Expose overlay's p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 2d175b74ad 375/417: chore: Expose overlay's priority |
Date: |
Mon, 1 Jul 2024 10:03:06 -0400 (EDT) |
branch: elpa/treesit-fold
commit 2d175b74ad701d96d34eed2b4ea743c734ba6e19
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>
chore: Expose overlay's priority
---
ts-fold-indicators.el | 2 +-
ts-fold.el | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ts-fold-indicators.el b/ts-fold-indicators.el
index becc9c26d9..314fe1806d 100644
--- a/ts-fold-indicators.el
+++ b/ts-fold-indicators.el
@@ -41,7 +41,7 @@
:group 'ts-fold)
(defcustom ts-fold-indicators-priority 30
- "Indicators fringe priority."
+ "Indicators overlay's priority."
:type 'integer
:group 'ts-fold)
diff --git a/ts-fold.el b/ts-fold.el
index c905138e2e..d804669fa4 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -176,6 +176,11 @@ For example, Lua, Ruby, etc."
:type 'string
:group 'ts-fold)
+(defcustom ts-fold-priority 30
+ "Fold range overlay's priority."
+ :type 'integer
+ :group 'ts-fold)
+
(defface ts-fold-replacement-face
'((t :foreground "#808080" :box (:line-width -1 :style pressed-button)))
"Face used to display the fold replacement text."
@@ -325,6 +330,7 @@ This function is borrowed from `tree-sitter-node-at-point'."
(end (cdr range))
(ov (make-overlay beg end)))
(overlay-put ov 'creator 'ts-fold)
+ (overlay-put ov 'priority ts-fold-priority)
(overlay-put ov 'invisible 'ts-fold)
(overlay-put ov 'display (or (and ts-fold-summary-show
(ts-fold-summary--get
(buffer-substring beg end)))
- [nongnu] elpa/treesit-fold 78f0b0437f 278/417: docs(README.md): Mention Noir in TODO, (continued)
- [nongnu] elpa/treesit-fold 78f0b0437f 278/417: docs(README.md): Mention Noir in TODO, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c36f3ad85c 279/417: feat: Add Perl support (#66), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold be2b3dd211 275/417: feat: Add Elisp support (#63), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 323e252cf5 284/417: feat: Add Kotlin support (#70), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8f1f182b40 307/417: perf: Speed up count matches (#88), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c4aaf00303 326/417: fix: Render it's own window, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0d2b177527 381/417: fix: Update rust line comment rule, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cc31fb573b 399/417: docs: Update line-reminder config, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6bb13a51ce 401/417: docs: Changelog, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ef32910994 379/417: Update package desc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2d175b74ad 375/417: chore: Expose overlay's priority,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold b8ac9a81ca 387/417: fix: Ensure return t, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 930c5cd6de 333/417: feat: Add Mermaid support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 21bba126be 321/417: fix: Ensure refresh when window size changes, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 665e3f074c 376/417: feat: Support new LaTeX-mode, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 947fbec8b5 350/417: reordered the alists for alphabetical ordering, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ab81fe718e 389/417: feat(json): Fold comment, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 22ffb18db6 303/417: feat: Add Pascal support (#85), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold aafc4c0a5f 373/417: Changelog, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 47c58282f7 335/417: Release, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9cbc292502 394/417: fix: Use handle dependent, ELPA Syncer, 2024/07/01