docs(format): describe interaction between +onsave and LSP

This commit is contained in:
John Goff 2023-11-16 17:24:29 -05:00
parent 9d8f657b37
commit 9da33cf9e7

View file

@ -21,7 +21,8 @@ Indentation is always preserved when formatting regions.")
"If non-nil, format with LSP formatter if it's available.
This can be set buffer-locally with `setq-hook!' to disable LSP formatting in
select buffers.")
select buffers.
This has no effect on the +onsave flag, apheleia will always be used there.")
(defvaralias '+format-with 'apheleia-formatter
"Set this to explicitly use a certain formatter for the current buffer.")