hi,

9front's had this for a long time (last time i used acme it already
did, back in 2017).
maybe you could try to import those changes instead of rolling your own?


best,

-rodri

On Thu, Aug 5, 2021 at 6:59 PM binarycat <dogedog...@gmail.com> wrote:
> 
> I do prefer tabs over spaces, but sometimes you have to use spaces.
> For example, zig doesn't even allow the tab charachter in its source
> code.
> 
> So, I put together a simple patch that adds a command `Spaceindent`.
> This command works similar to `Indent`, but changing whether to insert
> tabs or spaces. there is also the `-s` option to enable it on startup.
> 
> The number of spaces to insert is the same as the tab width,
> controlled by `Tab`.
> 
> My implementation may be a bit awkward, I haven't tried modifying acme
> to this extent before.
> --
> binarycat <dogedog...@gmail.com>

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Td96032ea2eda50a5-M4c0bddcfef55e476f27d69d3
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to