[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold b493772d32 080/417: Fix autoload
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold b493772d32 080/417: Fix autoload |
Date: |
Mon, 1 Jul 2024 10:02:13 -0400 (EDT) |
branch: elpa/treesit-fold
commit b493772d32ffd15553b95a965bc4f32b0d8fdc3c
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>
Fix autoload
---
tree-sitter-fold.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tree-sitter-fold.el b/tree-sitter-fold.el
index 3faebce01b..99a2529b3b 100644
--- a/tree-sitter-fold.el
+++ b/tree-sitter-fold.el
@@ -149,12 +149,17 @@ the fold in a cons cell. See
`tree-sitter-fold-range-python' for an example."
(let ((tree-sitter-mode t))
(tree-sitter-fold-open-all)))
+;;;###autoload
(define-minor-mode tree-sitter-fold-mode
"Folding code using tree sitter."
:init-value nil
:lighter "TS-Fold"
(if tree-sitter-fold-mode (tree-sitter-fold--enable)
(tree-sitter-fold--disable)))
+;;;###autoload
+(define-global-minor-mode global-tree-sitter-fold-mode tree-sitter-fold-mode
+ (lambda () (tree-sitter-fold-mode 1)))
+
;;
;; (@* "Core" )
;;
- [nongnu] elpa/treesit-fold e7dd19b2d1 005/417: fix compile bug: add to evil-fold-list only if it exist, (continued)
- [nongnu] elpa/treesit-fold e7dd19b2d1 005/417: fix compile bug: add to evil-fold-list only if it exist, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 568085877e 014/417: better notes on how to install additional grammars, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2ad70aae0d 023/417: Remove unused format function, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 88b0e6eab0 039/417: Update doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 557df0a4fe 045/417: Add replacement customization, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6603e0ddbb 057/417: Split parser, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 7127f4bbcc 061/417: Add comment, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c6f58d41d5 068/417: Fix, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 445b209eb0 062/417: Fix compatible, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold f57a136cb8 075/417: Fix externals, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b493772d32 080/417: Fix autoload,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 8d2599d54d 071/417: Fix warnings, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ac7f2d0071 084/417: Try ruby, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 570305133e 003/417: version 0.0.1, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cbe049d1bf 010/417: fix typo, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ef390d67aa 022/417: Organize code, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d09b81affc 026/417: Add Cask, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 82224e74b5 031/417: Add badges, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8953a0f68b 030/417: Add CI, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 399af3b42f 036/417: Add more doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d81b48d22d 037/417: Organize order, ELPA Syncer, 2024/07/01