Yuan Fu
8d132359d1
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.
2025-06-01 16:14:12 -07:00
..
2025-02-17 17:28:05 -08:00
2025-01-12 22:23:36 -08:00
2025-03-09 16:26:51 +01:00
2025-03-01 10:01:54 -05:00
2025-01-03 09:41:15 +01:00
2025-03-19 15:53:37 -04:00
2025-03-20 15:35:09 +02:00
2025-06-01 16:14:12 -07:00
2025-01-02 18:39:42 +01:00
2025-02-17 17:28:05 -08: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-05-22 15:03:51 +02:00
2025-01-18 07:46:34 -05:00
2025-01-02 18:39:42 +01:00
2025-03-08 05:20:30 +00:00
2025-02-25 01:25:15 +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-14 17:47:17 +00:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-02-12 17:41:37 +01:00
2025-01-02 18:39:42 +01:00
2025-05-01 21:03:34 +03:00
2025-02-24 20:45:41 +01:00
2025-01-02 18:39:42 +01:00
2025-05-01 20:55:33 +03:00
2025-03-08 20:50:59 +02:00
2025-03-09 22:07:39 -04: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-05-05 09:45:36 +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-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:27:49 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00