Format your messy javascript code automatically with vim 💯
Requires an executable prettier to exist in $PATH
Use your favorite vim plugin manager. If you don't have one, I like vim-plug. To add it to your plugins, use:
Plug 'ebuckthal/prettier.vim'
prettier.vim will automatically be set up to run on file save. Any errors thrown by prettier will automatically populate the quickfix list. Makes pretty javascript a breeze!✨
Development of prettier.vim is facilitated exclusively on GitHub. Any contributions in the form of Pull Requests are very welcome and highly encouraged. If you find an issue or have a question with this plugin, open an Issue.