Hi all,
my editor (neovim + elixir-ls via coc.nvim) does format on save.
Randomly, it adds parenthesis around macros, so I have a diff looking like:
- get "/", PageController, :home
+ get("/", PageController, :home)
Is anyone experiencing something similar?
Thank you
I’d guess this is related to this elixir-ls issue: Formatter doesn't respect formatter.exs while your code is still compiling · Issue #526 · elixir-lsp/elixir-ls · GitHub
If you wait for the underlying compilation to finish, the formatter options are respected again, which makes it seem random.