diff options
| author | Radon Rosborough <radon@intuitiveexplanations.com> | 2023-07-19 17:21:07 -0700 |
|---|---|---|
| committer | Radon Rosborough <radon@intuitiveexplanations.com> | 2023-07-19 17:21:07 -0700 |
| commit | c222927f7086d407dad01b2609ff68768e9adddb (patch) | |
| tree | 4b2f0dafb868ec3f98ff4638c1881639ae337b08 /README.md | |
| parent | f85b48e2eee0983acfe5b3a2684856358714ac6f (diff) | |
Add notes on .dir-locals.el to README
Closes #190
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |
