docs(format): describe interaction between +onsave and LSP
This commit is contained in:
parent
9d8f657b37
commit
9da33cf9e7
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ Indentation is always preserved when formatting regions.")
|
||||||
"If non-nil, format with LSP formatter if it's available.
|
"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
|
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
|
(defvaralias '+format-with 'apheleia-formatter
|
||||||
"Set this to explicitly use a certain formatter for the current buffer.")
|
"Set this to explicitly use a certain formatter for the current buffer.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue