Skip to content

Commit 7f1e24c

Browse files
committed
Add todo note
1 parent 4f5ea58 commit 7f1e24c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ts-fold-parsers.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
;; (@* "Externals" )
3434
;;
3535

36+
;; TODO(everyone): keep the forward declared alphabetically sorted
37+
3638
(declare-function ts-fold-range-seq "ts-fold.el")
3739
(declare-function ts-fold-range-line-comment "ts-fold.el")
3840
(declare-function ts-fold-range-block-comment "ts-fold.el")
@@ -51,6 +53,8 @@
5153
;; (@* "Parsers" )
5254
;;
5355

56+
;; TODO(everyone): keep the function alphabetically sorted
57+
5458
(defun ts-fold-parsers-agda ()
5559
"Rule sets for Agda."
5660
'(()))

ts-fold-summary.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ type of content by checking the word boundary's existence."
193193
summary (propertize summary 'face 'ts-fold-replacement-face))))
194194
summary))
195195

196+
;; TODO(everyone): keep this alist alphabetically sorted
196197
(defcustom ts-fold-summary-parsers-alist
197198
`((actionscript-mode . ts-fold-summary-javadoc)
198199
(bat-mode . ts-fold-summary-batch)

ts-fold.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
6262
The alist is in form of (major-mode . (foldable-node-type)).")
6363

64+
;; TODO(everyone): This is a bit messy, but try to keep this alist
65+
;; alphabetically sorted
6466
(defcustom ts-fold-range-alist
6567
`((agda-mode . ,(ts-fold-parsers-agda))
6668
(sh-mode . ,(ts-fold-parsers-bash))

0 commit comments

Comments
 (0)