[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoformat (like clang-format) elisp code?
From: |
Óscar Fuentes |
Subject: |
Re: autoformat (like clang-format) elisp code? |
Date: |
Thu, 17 Mar 2022 10:44:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juan José García-Ripoll <juanjose.garciaripoll@gmail.com> writes:
> Hi,
>
> I know this is a very opinionated topic, but I have become used to
> clang-format in my C++ projects as a tool that automatically formats
> _all_ of my code, without me thinking much about it.
>
> Is there a way to enable Emacs do this for Emacs lisp files?
Maybe aggressive-indent? I use it with great success for lisp-like
languages. However, I also use paredit, which means that there are no
unbalanced parens at any time.
https://github.com/Malabarba/aggressive-indent-mode