emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/treesit-fold 7f1e24cf23 215/417: Add todo note


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold 7f1e24cf23 215/417: Add todo note
Date: Mon, 1 Jul 2024 10:02:27 -0400 (EDT)

branch: elpa/treesit-fold
commit 7f1e24cf234edf92352b719c7c25a93385e4beb0
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>

    Add todo note
---
 ts-fold-parsers.el | 4 ++++
 ts-fold-summary.el | 1 +
 ts-fold.el         | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/ts-fold-parsers.el b/ts-fold-parsers.el
index 1a8d678b6d..956391ea3d 100644
--- a/ts-fold-parsers.el
+++ b/ts-fold-parsers.el
@@ -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 fc46305134..28db7f5192 100644
--- a/ts-fold-summary.el
+++ b/ts-fold-summary.el
@@ -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.el b/ts-fold.el
index 9515b57e36..2a0d5aa668 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]