|
From: | Daniel Colascione |
Subject: | Re: c-ts-mode style customization |
Date: | Wed, 22 Mar 2023 20:05:57 -0400 |
User-agent: | AquaMail/1.43.0 (build: 104300275) |
On Mar 22, 2023, at 8:53 AM, Daniel Colascione <dancol@dancol.org> wrote:Shouldn't customization of styles in c-ts-mode look more like cc-mode'sstyle machinery? Right now, the closest thing we have to defining a newstyle is add-advice on c-ts-mode--indent-styles, which isn'tparticularly convenient or future-proof. You can't drop a new style in,say, .dir-locals.Actually, you can define a custom function, say, c-ts-mode-my-style, and set c-ts-mode-indent-style to the name of it.Yuan
[Prev in Thread] | Current Thread | [Next in Thread] |