Skip to content

Commit 87c0b64

Browse files
committed
Add tsx-mode and tsx-ts-mode indent levels to the lsp--formatting-indent-alist
1 parent 9ee3832 commit 87c0b64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lsp-mode.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6300,6 +6300,8 @@ one or more symbols, and STRUCTURE should be compatible with
63006300
(toml-ts-mode . toml-ts-mode-indent-offset)
63016301
(typescript-mode . typescript-indent-level) ; Typescript
63026302
(typescript-ts-mode . typescript-ts-mode-indent-offset) ; Typescript (tree-sitter, Emacs29)
6303+
(tsx-mode . typescript-indent-level) ; TSX
6304+
(tsx-ts-mode . typescript-ts-mode-indent-offset) ; TSX (tree-sitter, Emacs29)
63036305
(yaml-mode . yaml-indent-offset) ; YAML
63046306
(yang-mode . c-basic-offset) ; YANG (yang-mode)
63056307

0 commit comments

Comments
 (0)