Closed mkohlhaas closed 10 months ago
Based on rebar.config
, it should be erlfmt by WhatsApp: https://github.com/WhatsApp/erlfmt
That's not true. erlfmt
is so far (sadly) only used for parsing, formatting is done via rebar3_format
, see https://github.com/erlang-ls/erlang_ls/blob/main/apps/els_lsp/src/els_formatting_provider.erl#L103.
Just wonder which formatter is used by ErlangLS. I have integrated ErlangLS into neovim and can format code on the fly. But I would like to use the same formatter also from the command line to be consistent.
Kind regards!