[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold afa4f3b9a0 216/417: Merge pull request #11 fr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold afa4f3b9a0 216/417: Merge pull request #11 from jcs-elpa/docs |
Date: |
Mon, 1 Jul 2024 10:02:27 -0400 (EDT) |
branch: elpa/treesit-fold
commit afa4f3b9a03f17947a3ffd1b9301aa755d27729d
Merge: dcd5b9fe5c 7f1e24cf23
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #11 from jcs-elpa/docs
chore(notes): add TODO notes, fix typo and update copyright year
---
README.md | 2 +-
ts-fold-indicators.el | 2 +-
ts-fold-parsers.el | 6 +++++-
ts-fold-summary.el | 3 ++-
ts-fold-util.el | 2 +-
ts-fold.el | 4 +++-
6 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index b78563e615..40121cf535 100644
--- a/README.md
+++ b/README.md
@@ -220,7 +220,7 @@ Function takes 2 arguments, `node` and `offset`.
* `node` - the targeting tree-sitter node; in this example, `block` will be the
targeting node.
-* `offset` - (optiona) a cons consist of two integers. This is handy when you
have
+* `offset` - (optional) a cons consist of two integers. This is handy when you
have
a similar rule with little of positioning adjustment.
`tree-sitter-[lang]` parsers are generally integrated with different authors,
diff --git a/ts-fold-indicators.el b/ts-fold-indicators.el
index 8b19ba1d28..82ffc3439e 100644
--- a/ts-fold-indicators.el
+++ b/ts-fold-indicators.el
@@ -1,6 +1,6 @@
;;; ts-fold-indicators.el --- Display indicators for folding range -*-
lexical-binding: t; -*-
-;; Copyright (C) 2021 Shen, Jen-Chieh
+;; Copyright (C) 2021-2022 Shen, Jen-Chieh
;; Created date 2021-10-04 20:03:12
;; This file is NOT part of GNU Emacs.
diff --git a/ts-fold-parsers.el b/ts-fold-parsers.el
index bd3c0e7460..956391ea3d 100644
--- a/ts-fold-parsers.el
+++ b/ts-fold-parsers.el
@@ -1,6 +1,6 @@
;;; ts-fold-parsers.el --- Adapter layer to Tree-Sitter -*- lexical-binding:
t; -*-
-;; Copyright (C) 2021 Shen, Jen-Chieh
+;; Copyright (C) 2021-2022 Shen, Jen-Chieh
;; Created date 2021-10-04 17:45:48
;; This file is NOT part of GNU Emacs.
@@ -33,6 +33,8 @@
;; (@* "Externals" )
;;
+;; TODO(everyone): keep the forward declared alphabetically sorted
+
(declare-function ts-fold-range-seq "ts-fold.el")
(declare-function ts-fold-range-line-comment "ts-fold.el")
(declare-function ts-fold-range-block-comment "ts-fold.el")
@@ -51,6 +53,8 @@
;; (@* "Parsers" )
;;
+;; TODO(everyone): keep the function alphabetically sorted
+
(defun ts-fold-parsers-agda ()
"Rule sets for Agda."
'(()))
diff --git a/ts-fold-summary.el b/ts-fold-summary.el
index d1ce6b4e1e..28db7f5192 100644
--- a/ts-fold-summary.el
+++ b/ts-fold-summary.el
@@ -1,6 +1,6 @@
;;; ts-fold-summary.el --- Extract summary from fold region -*-
lexical-binding: t; -*-
-;; Copyright (C) 2021 Shen, Jen-Chieh
+;; Copyright (C) 2021-2022 Shen, Jen-Chieh
;; Created date 2021-10-04 16:59:22
;; This file is NOT part of GNU Emacs.
@@ -193,6 +193,7 @@ type of content by checking the word boundary's existence."
summary (propertize summary 'face 'ts-fold-replacement-face))))
summary))
+;; TODO(everyone): keep this alist alphabetically sorted
(defcustom ts-fold-summary-parsers-alist
`((actionscript-mode . ts-fold-summary-javadoc)
(bat-mode . ts-fold-summary-batch)
diff --git a/ts-fold-util.el b/ts-fold-util.el
index e3aa14eba6..07880a5069 100644
--- a/ts-fold-util.el
+++ b/ts-fold-util.el
@@ -1,6 +1,6 @@
;;; ts-fold-util.el --- Utility module -*- lexical-binding: t; -*-
-;; Copyright (C) 2021 Shen, Jen-Chieh
+;; Copyright (C) 2021-2022 Shen, Jen-Chieh
;; Created date 2021-10-04 20:19:42
;; This file is NOT part of GNU Emacs.
diff --git a/ts-fold.el b/ts-fold.el
index 322ffef705..2a0d5aa668 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -1,7 +1,7 @@
;;; ts-fold.el --- Code folding using tree-sitter -*- lexical-binding: t; -*-
;; Copyright (C) 2021 Junyi Hou
-;; Copyright (C) 2021 Shen, Jen-Chieh
+;; Copyright (C) 2021-2022 Shen, Jen-Chieh
;; Created date 2021-08-11 14:12:37
@@ -61,6 +61,8 @@
The alist is in form of (major-mode . (foldable-node-type)).")
+;; TODO(everyone): This is a bit messy, but try to keep this alist
+;; alphabetically sorted
(defcustom ts-fold-range-alist
`((agda-mode . ,(ts-fold-parsers-agda))
(sh-mode . ,(ts-fold-parsers-bash))
- [nongnu] elpa/treesit-fold f13f0c371b 102/417: Core, (continued)
- [nongnu] elpa/treesit-fold f13f0c371b 102/417: Core, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 80b8e2b6dc 138/417: Fix code block syntax, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold fe9b69359c 150/417: Correct external calls, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 946eebf84a 151/417: Update do, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 38cb89733b 156/417: Link indicators mode gif, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 64bb378142 158/417: Scale to 40%, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d3e7f9bb05 152/417: Improve c macro, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 3d40d76ad4 165/417: Fix void mulitline, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a035da60ad 202/417: apply, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d58795618a 199/417: Update README.md, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold afa4f3b9a0 216/417: Merge pull request #11 from jcs-elpa/docs,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 5a94124104 221/417: fix(indicators): Render indicators once it's mode is enabled (#19), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 401aad7380 223/417: Readme update (#20), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0e83f0e5ef 227/417: docs(CHANGELOG): update, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9f24d29c07 233/417: Julia language parser. (#33), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bbb1eae1a7 234/417: docs(CHANGELOG): fix PR number for #33, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold fe568ebead 246/417: chore: changelog, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ad1d9b2412 258/417: feat(fold): Add support for Lua (#52), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold eeff646b21 260/417: Optimize performance of ts-fold-close-all with indicators-mode on (#53), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e8a4110921 261/417: docs: Fix typo, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 7a46b695a1 263/417: Quick fix for ts-fold not checking if tree-sitter is enabled (#55), ELPA Syncer, 2024/07/01