diff options
| author | Vincenzo Pupillo | 2025-04-19 22:58:39 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-20 09:14:29 +0300 |
| commit | 4428077c2bea73570cfe9f9d6b40809aeda7f5c9 (patch) | |
| tree | fe635639189800c8fdecdebda2bd4dd58ffb8b44 /java/org/gnu | |
| parent | 372ce97180930b63fdd15d1d89fb1a519d4cf85f (diff) | |
| download | emacs-4428077c2bea73570cfe9f9d6b40809aeda7f5c9.tar.gz emacs-4428077c2bea73570cfe9f9d6b40809aeda7f5c9.zip | |
Fix indentation of "{" on a new line of a function declaration
* lisp/progmodes/js.el (js--treesit-switch-body-helper): New
anchor helper function for the switch_body.
(js--treesit-member-chained-expression-helper): New anchor
helper function for chained calls in member_expression.
(js--treesit-arrow-function-helper): New anchor helper
function for arrow_function.
(js--treesit-indent-rules): Fix rule for the indentation of
"{" when of a new line of a function declaration. (Bug#76704)
Fix the indentation of the parent of arrow_function, member_expression,
switch_body, ternary_expression and sequence_expression.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions