[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold c89ccafa7d 052/417: Simplify
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold c89ccafa7d 052/417: Simplify |
Date: |
Mon, 1 Jul 2024 10:02:10 -0400 (EDT) |
branch: elpa/treesit-fold
commit c89ccafa7da01100c5ecf77eb7425152bd4610d0
Author: Jen-Chieh <jcs090218@gmail.com>
Commit: Jen-Chieh <jcs090218@gmail.com>
Simplify
---
tree-sitter-fold.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tree-sitter-fold.el b/tree-sitter-fold.el
index b2cc9a9211..3c05a258b0 100644
--- a/tree-sitter-fold.el
+++ b/tree-sitter-fold.el
@@ -295,7 +295,7 @@ If the current syntax node is not foldable, do nothing."
(defun tree-sitter-fold-range-seq (node)
"Return the fold range in sequence."
- (let ((beg (tsc-node-end-position (tsc-get-nth-child node 0)))
+ (let ((beg (1+ (tsc-node-start-position node)))
(end (1- (tsc-node-end-position node))))
(cons beg end)))
- [nongnu] elpa/treesit-fold 714d645b68 337/417: fix: error Invalid face box quote (:line-width -1 :style 'pressed-button), (continued)
- [nongnu] elpa/treesit-fold 714d645b68 337/417: fix: error Invalid face box quote (:line-width -1 :style 'pressed-button), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c8638d41be 372/417: feat(Zig): Add more Zig folding rules, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c45985d720 330/417: fix: Remove unused function, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 45f20588f0 304/417: docs(README.md): Add development languages, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 206d849f72 012/417: add support for nix, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 13941aa169 016/417: Add support for Go structs, interfaces, methods and functions, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 665dd1e46d 017/417: Merge pull request #1 from jakejx/go-support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2b10944ca4 027/417: Remove old readme, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a3b5c852ac 044/417: WIP js support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bf8fef92c1 050/417: Update core, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c89ccafa7d 052/417: Simplify,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 5551d9ebd8 086/417: Fix toggle, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b429fd33dc 087/417: Move face, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 4f281a727f 097/417: Use autoload instead, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a68579c4f7 098/417: Fix ind overlays, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 66a8b272cc 101/417: Fix docstring extract condition, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1602759fdd 178/417: Rename util module without util prefix, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b505f0719f 183/417: ci: No more platform specific, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e9d26a8e18 186/417: Update Eask, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 4e59c763c4 187/417: ci: cancel last workflow on push, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 62667ad992 189/417: Update README.md, ELPA Syncer, 2024/07/01