Open ghost opened 2 years ago
That's odd. It works for me. Do you have one of the supported formatters installed?
From the documentation:
JavaScript
js-beautify, prettierd, prettier, prettydiff, clang-format, esformatter, prettier-eslint, eslint_d, standard, semistandard, deno fmt
I have prettier
installed and it's working fine for me.
I have configured format on save and tested in golang code. It works. But, I try to format on save in JS it does not trigger auto formatting.
init.vim
Code example: