summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5882e10..d1c5557 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,14 @@ Language Server Protocol (LSP).
Once installed, `eglot` should detect and use the servers automatically.
+This configuration enables formatting on save by default. To disable this
+behaviour, add the relevant mode(s) to `mpolden/inhibit-format-before-save`.
+Example:
+
+``` emacs-lisp
+(setq mpolden/inhibit-format-before-save '(foo-mode))
+```
+
## Version compatibility
Lowest supported Emacs version is the one found in [Debian