coc-elixir icon indicating copy to clipboard operation
coc-elixir copied to clipboard

How do you autoformat eelixir files ?

Open aswinmohanme opened this issue 5 years ago • 2 comments

This awesome library made me switch from Spacemacs to Neovim :+1: . Everything is working fine, but I have one issue.

What do you use for autoformatting eelixir or .eex files ? I have tried a bunch of plugins and none seem to work. Any pointers will be much appreciated.

Thanks

aswinmohanme avatar Oct 07 '20 10:10 aswinmohanme

I use a forked version of htmlbeautifier with vim-autoformat, but works well with @threedaymonk 's version

onixus74 avatar Oct 02 '21 19:10 onixus74

@aswinmohanme

Something like autocmd BufWritePost *.html.heex !mix format <afile> should work

carlotm avatar Jul 28 '22 15:07 carlotm