From 707930e247b7d8b7f39bc8dcfe7636624e1a1812 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 19 Mar 2020 08:21:18 -0600 Subject: Document apheleia-max-alignment-size --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 128b4f2..46b8823 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,11 @@ The following user options are also available: * `apheleia-post-format-hook`: Normal hook run after Apheleia formats a buffer. Run if the formatting is successful, even when no changes are made to the buffer. +* `apheleia-max-alignment-size`: The maximum number of characters that + a diff region can have to be processed using Apheleia's dynamic + programming algorithm for point alignment. This cannot be too big or + Emacs will hang noticeably on large reformatting operations, since + the DP algorithm is quadratic-time. ## Contributing -- cgit v1.0