branch: elpa/treesit-fold
commit 665e3f074cf488d06c0c27c2666d0b31479466f9
Author: JenChieh <[email protected]>
Commit: JenChieh <[email protected]>
feat: Support new LaTeX-mode
---
ts-fold-summary.el | 1 +
ts-fold.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/ts-fold-summary.el b/ts-fold-summary.el
index dd66484b43..bca8b951af 100644
--- a/ts-fold-summary.el
+++ b/ts-fold-summary.el
@@ -264,6 +264,7 @@ type of content by checking the word boundary's existence."
(julia-mode . ts-fold-summary-julia-doc)
(kotlin-mode . ts-fold-summary-javadoc)
(latex-mode . ts-fold-summary-tex-doc)
+ (LaTeX-mode . ts-fold-summary-tex-doc)
(lisp-mode . ts-fold-summary-elisp)
(lisp-interaction-mode . ts-fold-summary-elisp)
(llvm-mode . ts-fold-summary-elisp)
diff --git a/ts-fold.el b/ts-fold.el
index d804669fa4..1bcba071a5 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -102,6 +102,7 @@
(julia-mode . ,(ts-fold-parsers-julia))
(kotlin-mode . ,(ts-fold-parsers-kotlin))
(latex-mode . ,(ts-fold-parsers-latex))
+ (LaTeX-mode . ,(ts-fold-parsers-latex))
(lisp-mode . ,(ts-fold-parsers-lisp))
(lisp-interaction-mode . ,(ts-fold-parsers-lisp))
(llvm-mode . ,(ts-fold-parsers-llvm))