diff options
| author | john muhl | 2025-03-09 20:40:58 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2025-03-13 10:09:38 +0200 |
| commit | 1528d315643d864204f327acb4ec19dd8d859de8 (patch) | |
| tree | eade3fd4a32faa4cb03be7b1e494343fdff76936 /java/org | |
| parent | b51fb2e107a4b3b17f5ced188247479cff0a3c92 (diff) | |
| download | emacs-1528d315643d864204f327acb4ec19dd8d859de8.tar.gz emacs-1528d315643d864204f327acb4ec19dd8d859de8.zip | |
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)
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions