Skip to content

Commit e9ed0ec

Browse files
committed
Trim trailing whitespace in elixir comments
For some reason, the `mix` formatter allows comments to have trailing whitespace, which I don't prefer.
1 parent d0f35b5 commit e9ed0ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/plugins/conform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ return { -- Autoformat
3030
end,
3131
formatters_by_ft = {
3232
lua = { 'stylua' },
33-
elixir = { 'mix' },
33+
elixir = { 'mix', 'trim_whitespace' },
3434
eelixir = { 'mix' },
3535
heex = { 'mix' },
3636
surface = { 'mix' },

0 commit comments

Comments
 (0)