[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 1995c646fd 103/417: Fix csharp summary
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 1995c646fd 103/417: Fix csharp summary |
Date: |
Mon, 1 Jul 2024 10:02:16 -0400 (EDT) |
branch: elpa/treesit-fold
commit 1995c646fd4bd655f9f5da5f579cec00805de889
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>
Fix csharp summary
---
tree-sitter-fold-summary.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tree-sitter-fold-summary.el b/tree-sitter-fold-summary.el
index e4415b002c..aa548b8f80 100644
--- a/tree-sitter-fold-summary.el
+++ b/tree-sitter-fold-summary.el
@@ -108,9 +108,9 @@ type of content by checking the word boundary's existence."
(defun tree-sitter-fold-summary-csharp (doc-str)
"Extract summary for C# from DOC-STR."
- (or (tree-sitter-fold-summary-javadoc doc-str)
- (tree-sitter-fold-summary-csharp-vsdoc doc-str)
- (tree-sitter-fold-summary-c-macro doc-str)))
+ (cond ((string-match-p "///" doc-str)
+ (tree-sitter-fold-summary-csharp-vsdoc doc-str))
+ (t (tree-sitter-fold-summary-javadoc doc-str))))
(defun tree-sitter-fold-summary-javadoc (doc-str)
"Extract javadoc summary from DOC-STR."
- [nongnu] elpa/treesit-fold bb11d49dfe 054/417: wip, (continued)
- [nongnu] elpa/treesit-fold bb11d49dfe 054/417: wip, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0cfd013956 055/417: Test, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8c6997a490 060/417: Update doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold edf623a794 067/417: Add scirpt, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold de8e8fe97b 078/417: Add block, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b18525f494 079/417: Fix folde mode, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d08d138fa9 081/417: Add rust, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 13a35c38d3 085/417: Fix void function, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bbfd8658b0 091/417: Clean up, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0d3e776402 094/417: Replace nix with simpler rule sets, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1995c646fd 103/417: Fix csharp summary,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 4c33ee9b8a 108/417: Add bash support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2e2d2dfef3 104/417: Fix node issue, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 36768e42d9 116/417: Add basic c preprocessor, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 280920bbba 106/417: Clean list, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d563c38a61 119/417: Fix return toggle, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0dc7e5c563 120/417: Fix prefix, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d3c984af86 121/417: Apply all macro, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 55c603cbcc 130/417: Update doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 496efdf1d3 133/417: Support comment for bash, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 442118d40d 140/417: Update doc, ELPA Syncer, 2024/07/01