Fix TypeScript block indenting when using allman style (#25051)

Closes #24976 

Release Notes:

- Fixed an issue where writing TypeScript using Allman style would
result in incorrect auto-indent behavior
This commit is contained in:
Ben Kunkle 2025-02-17 20:15:10 -05:00 committed by GitHub
parent 888dc0b344
commit 12aa270b9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,10 @@
(lexical_declaration)
(variable_declaration)
(assignment_expression)
(if_statement)
(for_statement)
; below handled by `(_ "{" "}" @end) @indent`
; (if_statement)
; (for_statement)
; (while_statement)
] @indent
(_ "[" "]" @end) @indent