[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 0d2b177527 381/417: fix: Update rust line com
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 0d2b177527 381/417: fix: Update rust line comment rule |
Date: |
Mon, 1 Jul 2024 10:03:08 -0400 (EDT) |
branch: elpa/treesit-fold
commit 0d2b1775271a14035f6f034080e2be06464aa0b3
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>
fix: Update rust line comment rule
---
treesit-fold-parsers.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/treesit-fold-parsers.el b/treesit-fold-parsers.el
index 78cbf7805b..ad9dc13aaa 100644
--- a/treesit-fold-parsers.el
+++ b/treesit-fold-parsers.el
@@ -566,8 +566,11 @@
(match_block . treesit-fold-range-seq)
(macro_definition . (treesit-fold-range-rust-macro 1 -1))
(block . treesit-fold-range-seq)
- (line_comment . (lambda (node offset)
- (treesit-fold-range-line-comment node offset
"///")))
+ (line_comment
+ . (lambda (node offset)
+ (treesit-fold-range-line-comment node
+ (treesit-fold--cons-add offset '(0 .
-1))
+ "///")))
(block_comment . treesit-fold-range-block-comment)))
(defun treesit-fold-parsers-scala ()
- [nongnu] elpa/treesit-fold 52d36972ef 218/417: chore(list): sort language alphabetically (#12), (continued)
- [nongnu] elpa/treesit-fold 52d36972ef 218/417: chore(list): sort language alphabetically (#12), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ea554f10e7 220/417: Fix a minor typo in ts-fold-parsers.el (#14), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a7c29941c2 225/417: OCaml parser and first functions added (#21), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1d690b8d06 267/417: feat(python): Support assignment string, ELPA Syncer, 2024/07/01
- [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 <=
- [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, 2024/07/01
- [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