; Fix 'typescript-ts-mode' indent test (bug#71998)

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
Set 'indent-tabs-mode' after changing the major mode.
This commit is contained in:
john muhl 2025-02-23 20:03:39 -06:00 committed by Yuan Fu
parent 3d46f3e3ed
commit c9964e180f
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -95,9 +95,9 @@ const foo = () => {
Code:
(lambda ()
(setq indent-tabs-mode nil)
(setq tsx-ts-mode-indent-offset 2)
(tsx-ts-mode)
(setq indent-tabs-mode nil)
(indent-region (point-min) (point-max)))
Name: JSX indentation