diff options
| author | Derek Passen <dpassen1@gmail.com> | 2023-12-30 15:19:01 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 14:19:01 -0700 |
| commit | f868b22357477eb89605e66caf4d300b5dad2b7e (patch) | |
| tree | 3134ca821b90a7f78528981b0c2ba345d9cec078 | |
| parent | b2d2b50f1a8b4cfcb7aa9fa815017bac26552da9 (diff) | |
Extend lua support to lua-ts-mode (#275)
Available via https://git.sr.ht/~johnmuhl/lua-ts-mode and
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b6659e98a4fcaa44477b64d7782243feca020418
---------
Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | apheleia-formatters.el | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b21c16e..cdbf81b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ The format is based on [Keep a Changelog]. * [docformatter](https://github.com/PyCQA/docformatter) for Python docstrings ([#267]) * [cljfmt](https://github.com/weavejester/cljfmt) for clojure, clojurescript, edn files. ([#271]) +* Stylua is used now in `lua-ts-mode` as well as just `lua-mode`, by + default ([#275]). [#209]: https://github.com/radian-software/apheleia/pull/209 [#229]: https://github.com/radian-software/apheleia/pull/229 @@ -42,6 +44,7 @@ The format is based on [Keep a Changelog]. [#264]: https://github.com/radian-software/apheleia/pull/264 [#267]: https://github.com/radian-software/apheleia/pull/267 [#271]: https://github.com/radian-software/apheleia/pull/271 +[#275]: https://github.com/radian-software/apheleia/pull/275 ## 4.0 (released 2023-11-23) ### Breaking changes diff --git a/apheleia-formatters.el b/apheleia-formatters.el index 019fecb..c96c4c5 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -333,6 +333,7 @@ rather than using this system." (latex-mode . latexindent) (LaTeX-mode . latexindent) (lua-mode . stylua) + (lua-ts-mode . stylua) (lisp-mode . lisp-indent) ;; markdown-mode not included because so many people format ;; markdown code in so many different ways and we don't want to |
