john muhl
1528d31564
Simplify and improve indent rules in 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (c-ts-common): Require it.
(lua-ts-mode): Set 'c-ts-common' variables.
(lua-ts--simple-indent-rules): Replace custom indent rules for
tables, arguments and parameters with
'c-ts-common-baseline-indent-rule'.
Improve consistency of indentation for IIFEs and nested functions.
(lua-ts--variable-declaration-continuation)
(lua-ts--variable-declaration-continuation-anchor): Reformat.
(lua-ts--comment-first-sibling-matcher)
(lua-ts--first-child-matcher, lua-ts--first-real-sibling-anchor)
(lua-ts--function-definition-p, lua-ts--g-g-g-parent)
(lua-ts--g-g-parent, lua-ts--nested-function-argument-matcher)
(lua-ts--nested-function-block-include-matcher)
(lua-ts--nested-function-block-matcher)
(lua-ts--nested-function-end-argument-matcher)
(lua-ts--nested-function-end-matcher)
(lua-ts--nested-function-last-function-matcher)
(lua-ts--top-level-function-call-matcher): Remove.
* test/lisp/progmodes/lua-ts-mode-resources/indent.erts:
Update tests. (Bug#76986)
2025-03-13 10:09:38 +02:00
..
2025-02-23 00:38:22 +01:00
2025-01-16 17:18:24 -05:00
2025-02-17 17:28:05 -08:00
2025-01-20 18:32:33 +01:00
2025-02-25 08:28:30 +01:00
2025-03-11 02:36:11 -07:00
2025-03-05 19:44:44 +02:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-22 14:48:29 +01:00
2025-02-26 18:11:22 +01:00
2025-01-02 18:39:42 +01:00
2025-01-08 14:07:36 +00:00
2025-01-02 18:39:42 +01:00
2025-02-01 07:39:56 -05:00
2025-01-02 18:39:42 +01:00
2025-02-07 22:30:27 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-25 08:28:30 +01:00
2025-03-12 10:09:09 +08:00
2025-01-02 18:39:42 +01:00
2025-02-21 17:54:29 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-23 01:03:00 +01:00
2025-02-17 19:33:56 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-25 08:28:30 +01:00
2025-03-08 05:15:57 +00:00
2025-03-12 09:38:33 +08:00
2025-02-25 08:28:30 +01:00
2025-01-21 09:29:09 +01:00
2025-03-09 08:19:01 +02:00
2025-02-01 15:44:47 +02:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-25 01:25:15 +01:00
2025-01-02 18:39:42 +01:00
2025-02-25 08:28:30 +01:00
2025-01-02 18:39:42 +01:00
2025-03-01 10:01:54 -05:00
2025-03-01 03:24:48 +01:00
2025-02-17 05:37:10 +01:00
2025-01-04 09:59:55 -05:00
2025-02-25 08:28:30 +01:00
2025-03-08 20:50:59 +02:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-03-05 19:47:31 +02:00
2025-03-06 20:22:50 +02:00
2025-02-09 19:54:02 +02:00
2025-01-02 18:39:42 +01:00
2025-03-13 10:09:38 +02:00
2025-01-02 18:39:42 +01:00
2025-03-09 22:07:39 -04:00
2025-02-18 20:04:16 +01:00
2025-01-02 18:39:42 +01:00
2024-12-26 21:02:45 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-18 20:04:16 +01:00
2025-03-12 10:24:22 +08:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-17 16:47:09 +08:00
2025-03-11 21:26:51 +01:00
2025-01-21 09:56:59 +01:00
2025-01-02 18:39:42 +01:00
2025-03-11 01:15:41 +01:00
2025-02-17 19:33:56 +01:00
2025-03-12 09:38:33 +08:00
2025-01-02 18:39:42 +01:00
2025-02-06 02:02:45 +01:00
2025-02-07 09:47:41 +02:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-26 06:37:52 +01:00
2025-02-25 08:28:30 +01:00
2025-03-06 20:22:50 +02:00
2025-02-01 04:56:52 +01:00
2025-01-21 09:56:59 +01:00
2025-01-21 09:56:59 +01:00
2025-01-02 18:39:42 +01:00
2025-03-04 14:32:33 +08:00
2025-01-02 18:39:42 +01:00