Re: [PATCH] [pre-commit] Avoid tabs in .pre-commit-config.yaml

Tom de Vries <[email protected]> Tue, 4 Aug 2026 20:45:11 +0200
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
On 8/4/26 7:36 PM, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries <[email protected]> writes:
> 
> Tom> When editing .pre-commit-config.yaml with emacs, I tend to get tab-indented
> Tom> lines, which causes:
> 
> FWIW I installed yaml-mode, which automatically sets indent-tabs-mode to
> nil.
> 
> But this patch is fine, not everyone will have yaml-mode.
> 

Thanks for the review, committed.

FWIW, I rely heavily on emacs, but I tend to use a fairly basic 
configuration.  I wouldn't mind though if yaml-mode gets installed by
default.

Thanks,
- Tom

> Approved-By: Tom Tromey <[email protected]>
> 
> Tom