> You can find the repository here: https://github.com/casouri/expreg > And I attached a patch for ELPA. It’s been awhile since I last made a > patch for ELPA, I hope I did it right. Looks OK. > [1] Default expanders include: expreg--subword expreg--word expreg--list expreg--string expreg--treesit expreg--comment expreg--paragraph > > [2] Something like (add-hook 'xxx-mode-hook (lambda () (treesit-parser-create 'xxx))) > > PS. I find it amusing that, among the total 632 LOC, only 17 are > responsible for the tree-sitter support, the main purpose of this > package; all the rest are code dealing with correctly expanding lists, > strings and comments with syntax-ppss. > > Thanks, > Yuan > > From 7e201deb71f324e22d31331c06cf3999a105668b Mon Sep 17 00:00:00 2001 > From: Yuan Fu > Date: Mon, 31 Jul 2023 11:14:04 -0700 > Subject: [PATCH] * elpa-packages (expreg): New package. > > --- > elpa-packages | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/elpa-packages b/elpa-packages > index 48a0ada..e1470d5 100644 > --- a/elpa-packages > +++ b/elpa-packages > @@ -292,6 +292,7 @@ > :doc "doc/ess.texi") > (excorporate :url nil) > (expand-region :url "https://github.com/magnars/expand-region.el") > + (expreg :url "https://github.com/casouri/expreg.git") > (external-completion :core "lisp/external-completion.el") > (exwm :url "https://github.com/ch11ng/exwm.git") > (f90-interface-browser :url nil) ;; Was "https://github.com/wence-/f90-iface"