From 33b06a454b5a98e854512dafff1dec1806cf2679 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Tue, 25 Mar 2025 19:41:13 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48f833e..52567cd 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ In addition to *minimal-emacs.d*, startup speed is influenced by your computer's - [Configuring org-mode](#configuring-org-mode) - [Inhibit the mouse](#inhibit-the-mouse) - [Spell checker](#spell-checker) - - [Code formatter](#code-formatter) + - [Asynchronous code formatting without cursor disruption (Apheleia)](#asynchronous-code-formatting-without-cursor-disruption-apheleia) - [A better Emacs *help* buffer](#a-better-emacs-help-buffer) - [Enhancing the Elisp development experience](#enhancing-the-elisp-development-experience) - [Preventing Emacs from saving custom.el](#preventing-emacs-from-saving-customel) @@ -795,7 +795,7 @@ To configure **flyspell**, add the following to `~/.emacs.d/post-init.el`: flyspell-prog-text-faces))) ``` -### Code formatter +### Asynchronous code formatting without cursor disruption (Apheleia) Apheleia is an Emacs package designed to run code formatters asynchronously without disrupting the cursor position. Code formatters like Shfmt, Black and Prettier ensure consistency and improve collaboration by automating formatting, but running them on save can introduce latency (e.g., Black takes around 200ms on an empty file) and unpredictably move the cursor when modifying nearby text.