Black
From charlesreid1
Black is the uncompromising code formatter: https://black.readthedocs.io/en/stable/
Why Use Black
Lessons learned about gofmt. Also see blog posts at https://charlesreid1.github.io
Installation Instructions
To install black:
Make a vim plugin directory
mkdir -p ~/.vim/plugin
Now copy the black vim plugin into the plugin folder:
cd ~/.vim/plugin && wget https://github.com/psf/black/blob/master/plugin/black.vim
Next start vim up and let black go through the installation/setup process:
vim
Now you should be all set.
Scripting
To script the installation of Black and the setup of a vim plugin for Black,