GNU bug report logs - #77094
31.0.50; yaml-ts-mode does not indent after yaml mapping keys

Previous Next

Package: emacs;

Reported by: the_wurfkreuz <the_wurfkreuz <at> proton.me>

Date: Tue, 18 Mar 2025 07:42:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #41 received at 77094 <at> debbugs.gnu.org (full text, mbox):

From: the_wurfkreuz <the_wurfkreuz <at> proton.me>
To: Juri Linkov <juri <at> linkov.net>
Cc: Randy Taylor <dev <at> rjt.dev>, 77094 <at> debbugs.gnu.org
Subject: Re: bug#77094: 31.0.50;
 yaml-ts-mode does not indent after yaml mapping keys
Date: Wed, 26 Mar 2025 06:49:19 +0000
I mean indentation after selecting and completing a multiline completion candidate.

On Tuesday, March 25th, 2025 at 8:20 PM, Juri Linkov <juri <at> linkov.net> wrote:

> > > > `spec: containers: - name: postgres-container image: postgres:16 env: - name:`
> > > > 
> > > > But that's the ideal situation with correct indentation.
> > > > In reality it does that this way:
> > > > 
> > > > `spec: containers: - name: postgres-container image: postgres:16 env: - name:`
> > > > 
> > > > Should this situation be handled by the language mode or
> > > > maybe by the completion system and the language mode together?
> > > 
> > > Both indentations are correct. 'haml-mode' handles
> > > this ambiguity by supporting all valid indentations, i.e.
> > > on the first TAB it indents to the first valid position,
> > > on the second TAB indents to another valid position, etc.
> > 
> > This means the completion will behave this way forever?
> 
> 
> Do you mean indentation, not completion with TAB?




This bug report was last modified 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.