[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 08abd98ba4 272/417: feat: Add Dart support (#
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 08abd98ba4 272/417: feat: Add Dart support (#62) |
Date: |
Mon, 1 Jul 2024 10:02:34 -0400 (EDT) |
branch: elpa/treesit-fold
commit 08abd98ba4620a1cc659f44bef2646d4b752e757
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: GitHub <noreply@github.com>
feat: Add Dart support (#62)
* feat: Add Dart support
* Changelog
---
CHANGELOG.md | 1 +
ts-fold-parsers.el | 8 ++++++++
ts-fold-summary.el | 1 +
ts-fold.el | 1 +
4 files changed, 11 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8afeb9612c..d11d505db7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for
recommendations on how
* Add more folding definitions (#51)
* Add support for Lua (#52)
* Add support for Python docstring (#58)
+* Add Dart support (#62)
## 0.1.0
> Released Oct 18, 2021
diff --git a/ts-fold-parsers.el b/ts-fold-parsers.el
index 4e38f85ad4..488252395a 100644
--- a/ts-fold-parsers.el
+++ b/ts-fold-parsers.el
@@ -118,6 +118,14 @@
(block . ts-fold-range-seq)
(comment . ts-fold-range-c-like-comment)))
+(defun ts-fold-parsers-dart ()
+ "Rule set for Dart."
+ '((block . ts-fold-range-seq)
+ (arguments . ts-fold-range-seq)
+ (comment . ts-fold-range-c-like-comment)
+ (documentation_comment . ts-fold-range-c-like-comment)
+ (list_literal . ts-fold-range-seq))) ; array
+
(defun ts-fold-parsers-elixir ()
"Rules set for Elixir."
'((list . ts-fold-range-seq)
diff --git a/ts-fold-summary.el b/ts-fold-summary.el
index fc8c6536c3..75e6217e1d 100644
--- a/ts-fold-summary.el
+++ b/ts-fold-summary.el
@@ -205,6 +205,7 @@ type of content by checking the word boundary's existence."
(c++-mode . ts-fold-summary-c)
(csharp-mode . ts-fold-summary-csharp)
(css-mode . ts-fold-summary-javadoc)
+ (dart-mode . ts-fold-summary-javadoc)
(go-mode . ts-fold-summary-go)
(html-mode . ts-fold-summary-xml)
(java-mode . ts-fold-summary-javadoc)
diff --git a/ts-fold.el b/ts-fold.el
index c826523cfe..fd32145ca1 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -65,6 +65,7 @@
(caml-mode . ,(ts-fold-parsers-ocaml))
(csharp-mode . ,(ts-fold-parsers-csharp))
(css-mode . ,(ts-fold-parsers-css))
+ (dart-mode . ,(ts-fold-parsers-dart))
(elixir-mode . ,(ts-fold-parsers-elixir))
(ess-r-mode . ,(ts-fold-parsers-r))
(go-mode . ,(ts-fold-parsers-go))
- [nongnu] elpa/treesit-fold 28409a0cee 232/417: docs: Update repo link (#32), (continued)
- [nongnu] elpa/treesit-fold 28409a0cee 232/417: docs: Update repo link (#32), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 017402713b 236/417: Fix typo/grammar in error message (#34), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold fb91989a94 238/417: Setup node is no longer required, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold f581febc6f 243/417: Update README (#39), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a5ba7ce60b 248/417: README.md: fix typo (#43), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5b0535c1af 256/417: test(Makefile); Ignore package-lint test, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cde9c90b07 259/417: docs(README.md): Metnion YAML support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5ebe65e85d 262/417: docs: Fix more typo, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8386b5b714 280/417: feat: Add Markdown support (#67), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 630b896b3f 277/417: feat: Add Haskell support (#65), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 08abd98ba4 272/417: feat: Add Dart support (#62),
ELPA Syncer <=
- [nongnu] elpa/treesit-fold d20c3663f9 380/417: Update desc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2bb351bcf3 385/417: feat: Add on fold hook, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c14893d4ff 343/417: perf: Use built-in function for indentation, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 858fb6fe1c 325/417: Update CHANGELOG.md, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 581af904c1 286/417: feat: Add GDScript support (#72), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 07da6590aa 348/417: feat: Add LLVM MIR support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 03644fb5fa 341/417: fix(indicators): Rely on range itself, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6ec049b140 310/417: feat: Add Make support (#90), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 75e72c658a 332/417: feat: Add Org support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9b25eeeb0b 404/417: chore: Update mouse face docstring, ELPA Syncer, 2024/07/01