aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadon Rosborough <radon.neon@gmail.com>2020-03-19 08:21:18 -0600
committerRadon Rosborough <radon.neon@gmail.com>2020-03-19 08:21:18 -0600
commit707930e247b7d8b7f39bc8dcfe7636624e1a1812 (patch)
treed298e4cab81f4d440d0b4e0edc3b48e0938c5e93
parent8112041d7e5f44587faff136d6ce52b9b1cea2eb (diff)
Document apheleia-max-alignment-size
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
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