[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodi
From: |
Stefan Kangas |
Subject: |
bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies |
Date: |
Sat, 29 Jun 2024 22:55:42 -0700 |
Theodor Thornhill <theo@thornhill.no> writes:
> Noah Peart <noah.v.peart@gmail.com> writes:
>
>> Tags: patch
>>
>> Adds missing indentation for typescript interfaces.
>>
>> Currently, there is no indentation for property signatures in typescript
>> interfaces.
>>
>> To reproduce, call `M-x (my-test-typescript-indent)`
>>
>> (defun my-test-typescript-indent ()
>> (interactive)
>> (typescript-ts-mode)
>> (setq-local typescript-ts-mode-indent-offset 4)
>> (indent-region (point-min) (point-max)))
>>
>
> [...]
>
> Pushed in bcf6dd6e266222a293e359430afdf3a2dc18369c. I also added a test
> confirming the behavior.
>
> As a small aside, this node type was added very recently. Until now we
> had a rule for it in 'object'
I'm therefore closing this bug report.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies,
Stefan Kangas <=