all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Theodor Thornhill <theo@thornhill.no>
Cc: Noah Peart <noah.v.peart@gmail.com>, 70023-done@debbugs.gnu.org
Subject: bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies
Date: Sat, 29 Jun 2024 22:55:42 -0700	[thread overview]
Message-ID: <CADwFkmk8ZdF5a=_6bOemwemhKCktPeyHitZB+Z58U1N_f7ZnHQ@mail.gmail.com> (raw)
In-Reply-To: <87o7ayw7ku.fsf@thornhill.no> (Theodor Thornhill's message of "Thu, 28 Mar 2024 19:10:41 +0100")

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.





      reply	other threads:[~2024-06-30  5:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27  6:20 bug#70023: [PATCH] Add typescript-ts-mode indentation for interface bodies Noah Peart
2024-03-28 13:11 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-28 14:31   ` Eli Zaretskii
2024-03-28 18:10 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-30  5:55   ` Stefan Kangas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmk8ZdF5a=_6bOemwemhKCktPeyHitZB+Z58U1N_f7ZnHQ@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=70023-done@debbugs.gnu.org \
    --cc=noah.v.peart@gmail.com \
    --cc=theo@thornhill.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.