Commit graph

9 commits

Author SHA1 Message Date
john muhl
a838bcb23c Support lua-ts-mode in align.el
* lisp/align.el (align-rules-list): Add lua-ts-mode.  (Bug#66466)
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Indent region
before aligning.
* test/lisp/align-tests.el (align-lua):
* test/lisp/align-resources/lua-ts-mode.erts: Add tests.
2023-10-21 12:25:25 +02:00
Mattias Engdegård
1bf92d9195 * test/lisp/align-resources/c-mode.erts: Make test agree with Emacs
This eliminates a failure in align-tests.  There doesn't seem to be
anything obviously wrong with Emacs's behaviour in this case.
2023-08-05 18:23:52 +02:00
Stefan Kangas
508eaa3290 Add test for align-regexp
* test/lisp/align-tests.el (align-regexp): New test.
* test/lisp/align-resources/align-regexp.erts: New file.

* test/lisp/align-resources/c-mode.erts: Add new test case.
2023-08-03 11:58:03 +02:00
Stefan Kangas
0de20a595c Add latex-mode tests for align.el 2023-08-03 05:45:13 +02:00
Stefan Kangas
daa174e56b Add python-mode tests for align.el
* test/lisp/align-tests.el (align-python): New test.
* test/lisp/align-resources/python-mode.erts: New file.
2023-08-03 00:49:02 +02:00
Stefan Kangas
7b9660c3b9 Add align tests for CSS
* test/lisp/align-tests.el (align-css): New test.
* test/lisp/align-resources/css-mode.erts: New file.
2023-08-01 14:39:35 +02:00
Stefan Kangas
a3979a6643 Add M-x align support to conf-toml-mode
* lisp/align.el (align-rules-list): Add rule for conf-toml-mode.
* test/lisp/align-resources/conf-toml-mode.erts: New file.
* test/lisp/align-tests.el (align-toml): New test.
2023-08-01 10:40:14 +02:00
Stefan Kangas
3e505d36ac Convert align-tests to use erts 2023-08-01 10:38:42 +02:00
Lars Ingebrigtsen
ee0e259e5d Add some tests for align.el 2020-12-29 08:38:25 +01:00