From 8fe8de468f97051bf353d27f586b4f188351f558 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 16 Nov 2023 15:24:43 +0000 Subject: [PATCH] docs(readme): update description for alternative package snap-indent --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 38ecac3..50847b6 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ GitHub pull requests - + License Status

@@ -87,14 +87,13 @@ regardless of what major-mode the buffer is using. ## Alternative Packages +- [snap-indent](https://github.com/jeffvalk/snap-indent) + ([melpa](https://melpa.org/#/snap-indent)): Very similar with the addition of + being able to trigger indentation on save, and extra custom formatting + functions to run right after indentation. - [auto-indent-mode](https://github.com/mattfidler/auto-indent-mode.el) ([melpa](https://melpa.org/#/auto-indent-mode)): Triggers indentation in a whole suite of scenarios, more or less trying to ensure everything is always correctly indented. This also includes indenting any yanked regions. Does not seem to support any thresholds to avoid triggering indentation for large buffers/yanked text. -- [snap-indent](https://github.com/jeffvalk/snap-indent) - ([melpa](https://melpa.org/#/snap-indent)): Very similar with the addition of - being able to trigger indentation on save, and extra custom formatting - functions to run right after indentation. But it lacks support for a yank size - threshold, and skipping indent with a prefix-arg.