diff options
| author | Yuan Fu | 2025-06-01 16:14:12 -0700 |
|---|---|---|
| committer | Yuan Fu | 2025-06-01 16:14:12 -0700 |
| commit | 8d132359d19b8efbdbd17786fa67c0c20efba35b (patch) | |
| tree | ee3f00aae8a2d5567b5f29a8737fb595ea800488 /java/incrementing-version-code | |
| parent | c3f4e6ca0e379bf082b1262ff5d4c07a79a434f7 (diff) | |
| download | emacs-8d132359d19b8efbdbd17786fa67c0c20efba35b.tar.gz emacs-8d132359d19b8efbdbd17786fa67c0c20efba35b.zip | |
Fix typescript-ts-mode tenary indentation (bug#77901)
Fixes indentation for nested ternary expressions:
const a = cond1 ? 1 :
cond2 ? 2 :
cond3 ? 3 :
cond 4: 5;
instead of
const a = cond1 ? 1 :
cond2 ? 2 :
cond3 ? 3 :
cond 4: 5;
* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts--standalone-parent-p): New function.
(typescript-ts-mode):
(tsx-ts-mode): Use new function.
Diffstat (limited to 'java/incrementing-version-code')
0 files changed, 0 insertions, 0 deletions