[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 993db0aa02 383/417: feat: Enhance SQL folding
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 993db0aa02 383/417: feat: Enhance SQL folding |
Date: |
Mon, 1 Jul 2024 10:03:08 -0400 (EDT) |
branch: elpa/treesit-fold
commit 993db0aa021ef339e8c76aa89c726a5a0fc9e267
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>
feat: Enhance SQL folding
---
treesit-fold-parsers.el | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/treesit-fold-parsers.el b/treesit-fold-parsers.el
index ad9dc13aaa..7ed1e77766 100644
--- a/treesit-fold-parsers.el
+++ b/treesit-fold-parsers.el
@@ -589,10 +589,14 @@
(defun treesit-fold-parsers-sql ()
"Rule set for SQL."
- '((block . treesit-fold-range-sql-block)
- (subquery . treesit-fold-range-seq)
- (list . treesit-fold-range-seq)
- (marginalia . treesit-fold-range-c-like-comment))) ; This is the comment!
+ '((block . treesit-fold-range-sql-block)
+ (subquery . treesit-fold-range-seq)
+ (list . treesit-fold-range-seq)
+ (column_definitions . treesit-fold-range-seq)
+ (marginalia . treesit-fold-range-c-like-comment) ; This is the
comment!
+ (comment
+ . (lambda (node offset)
+ (treesit-fold-range-line-comment node offset "--")))))
(defun treesit-fold-parsers-svelte ()
"Rule set for Svelte."
- [nongnu] elpa/treesit-fold 1cb784167a 235/417: Add FUNDING.yml, (continued)
- [nongnu] elpa/treesit-fold 1cb784167a 235/417: Add FUNDING.yml, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c3da5520b9 237/417: tests(test.yml): Add test for Emacs 28.2, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 85db0117ea 240/417: tests: Avoid actions' warnings, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a64f5252a6 244/417: Add .dir-locals.el (#40), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9776e2fa2c 247/417: Update copyright year, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 56e6743bac 252/417: feat: Improve folding for C preproc operators (#46), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9d9e0c5cf7 257/417: Add more folding definitions (#51), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 54d12c9822 281/417: feat: Add TOML support (#68), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b1021c2acb 293/417: feat: Add Noir support (#77), ELPA Syncer, 2024/07/01
- [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 <=
- [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, 2024/07/01
- [nongnu] elpa/treesit-fold ad0e036355 099/417: Core, ELPA Syncer, 2024/07/01