Summary
The command :format works fine but even if editor.auto-format is set to true the file is not formatted on :write.
Am I missing something?
Reproduction Steps
Set editor.auto-format = true (it should be the default).
Run this to install the python lsp and all its extensions: pip install "python-lsp-server[all]"
Copy/paste this code in a pyton file and open it
def f(x):
return x
def g(y):
return y
A warning should appear: E303 too many blank lines.
Running :write does not format the file, but running :format will.
Helix log
Nothing was written in the log file
Platform
Linux
Terminal Emulator
wezterm 20221119-145034-49b9839f
Helix Version
helix 22.12
Summary
The command
:formatworks fine but even ifeditor.auto-formatis set totruethe file is not formatted on:write.Am I missing something?
Reproduction Steps
Set
editor.auto-format = true(it should be the default).Run this to install the python lsp and all its extensions:
pip install "python-lsp-server[all]"Copy/paste this code in a pyton file and open it
A warning should appear:
E303 too many blank lines.Running
:writedoes not format the file, but running:formatwill.Helix log
Nothing was written in the log file
Platform
Linux
Terminal Emulator
wezterm 20221119-145034-49b9839f
Helix Version
helix 22.12