GNU bug report logs - #74386
Tree-sitter javascript indentation

Previous Next

Package: emacs;

Reported by: Marius Kjeldahl <marius.kjeldahl <at> gmail.com>

Date: Sat, 16 Nov 2024 23:28:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>, theo <at> thornhill.no
Cc: 74386 <at> debbugs.gnu.org, marius.kjeldahl <at> gmail.com
Subject: bug#74386: Tree-sitter javascript indentation
Date: Sat, 30 Nov 2024 12:01:46 +0200
> Cc: 74386 <at> debbugs.gnu.org, Theodor Thornhill <theo <at> thornhill.no>
> Date: Mon, 18 Nov 2024 17:29:18 +0200
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> On 18/11/2024 10:35, Marius Kjeldahl wrote:
> > Can confirm your patch solves both the variants I showed. This will
> > also help me to dig into and understand more of what is going on, and
> > allows me to experiment more with my preferences (and tree-sitter in
> > general). So thank you very much.
> 
> Great!
> 
> For more experimenting, also check out 'M-x treesit-explore-mode'.
> 
> And here's how to immediately find out which indentation rule was used:
> 
>    (setq treesit--indent-verbose t)

Theo, please chime in.  Should Dmitry install his changes?




This bug report was last modified 183 days ago.

Previous Next


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