help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c++-ts-mode and namespace indentation


From: Louis-Guillaume Gagnon
Subject: c++-ts-mode and namespace indentation
Date: Thu, 24 Aug 2023 09:04:55 +0000

Hello,

I've recently switched to the new c++-ts-mode (a game changer for source
code featuring deeply nested templates!). I'm quite pleased with it, but
I can't figure out how to make it such that a namespace block doesn't
increase the indentation level.  I previously achieved this with
(c-set-offset 'innamespace 0); Can anyone spell out how to achieve this
under treesitter?

Thanks!

L-G





reply via email to

[Prev in Thread] Current Thread [Next in Thread]