aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRadon Rosborough <radon@intuitiveexplanations.com>2023-07-19 17:21:07 -0700
committerRadon Rosborough <radon@intuitiveexplanations.com>2023-07-19 17:21:07 -0700
commitc222927f7086d407dad01b2609ff68768e9adddb (patch)
tree4b2f0dafb868ec3f98ff4638c1881639ae337b08 /README.md
parentf85b48e2eee0983acfe5b3a2684856358714ac6f (diff)
Add notes on .dir-locals.el to README
Closes #190
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index cd21356..d9035a2 100644
--- a/README.md
+++ b/README.md
@@ -157,6 +157,10 @@ variables:
of `file` in general.
* `apheleia-formatter`: Optional buffer-local variable specifying the
formatter to use in this buffer. Overrides `apheleia-mode-alist`.
+ You can set this in a local variables list, or in `.dir-locals.el`
+ (e.g. `((python-mode . ((apheleia-formatter . (isort black)))))`),
+ or in a custom hook of your own that sets the local variable
+ conditionally.
* `apheleia-inhibit`: Optional buffer-local variable, if set to
non-nil then Apheleia does not turn on automatically even if
`apheleia-global-mode` is on.