[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 7833eb31ab 096/417: Function void
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 7833eb31ab 096/417: Function void |
Date: |
Mon, 1 Jul 2024 10:02:15 -0400 (EDT) |
branch: elpa/treesit-fold
commit 7833eb31ab8c719be4483485649a3ab7989df3df
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>
Function void
---
tree-sitter-fold.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tree-sitter-fold.el b/tree-sitter-fold.el
index 0fd17c6b9f..30ff0826a2 100644
--- a/tree-sitter-fold.el
+++ b/tree-sitter-fold.el
@@ -308,6 +308,10 @@ If the current syntax node is not foldable, do nothing."
(delete-overlay ov)
(tree-sitter-fold-close))))
+(defun tree-sitter-fold--after-command (&rest _)
+ "Function call after interactive commands."
+ (tree-sitter-fold-indicators-refresh))
+
(let ((commands '(tree-sitter-fold-close
tree-sitter-fold-open
tree-sitter-fold-open-recursively
@@ -315,7 +319,7 @@ If the current syntax node is not foldable, do nothing."
tree-sitter-fold-open-all
tree-sitter-fold-toggle)))
(dolist (command commands)
- (advice-add command :after #'tree-sitter-fold-indicators-refresh)))
+ (advice-add command :after #'tree-sitter-fold--after-command)))
;;
;; (@* "Languages" )
- [nongnu] elpa/treesit-fold fe3e7610b1 403/417: fix: `treesit-fold-close-all` raises an wrong type error (#5), (continued)
- [nongnu] elpa/treesit-fold fe3e7610b1 403/417: fix: `treesit-fold-close-all` raises an wrong type error (#5), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 993db0aa02 383/417: feat: Enhance SQL folding, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0b48d9b286 355/417: reordered the alists for alphabetical ordering, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 27c0fd0c7e 361/417: style: Place functions in alphabetic order, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e36498c9e1 323/417: docs: Apply new changes from line-reminder, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a6c75c8373 334/417: Bump version, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e704add10d 340/417: fix(llvm): Fix folding for LLVM's label, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 41c13ff0e2 416/417: 2 bug fix (#10), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold eb714e2c21 408/417: feat: Add Gleam support (#8), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 14e3f13f67 415/417: feat: Enhance the Gleam support (#9), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 7833eb31ab 096/417: Function void,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold ad0e036355 099/417: Core, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 862b571191 118/417: Remove def, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 44714c252a 126/417: Quote description, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a1b5e97fa0 132/417: Improve doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 49aff53680 136/417: Add comment, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5e956f74dc 148/417: Support python comment and document string, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 68c7954b3a 155/417: Apply more accurate c-like comment, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b2222f0f7f 159/417: Update list, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 68d16a9bc9 166/417: Rename to ts-fold, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d556beb204 172/417: Merge pull request #4 from rynffoll/feature/add-support-evil-toggle-fold, ELPA Syncer, 2024/07/01