Go to file
2012-12-01 21:34:44 +01:00
formatters php and js added 2012-09-30 22:11:36 +02:00
ftplugin whitespace bugfix 2012-12-01 18:53:11 +01:00
plugin python support and no error into buffer when formatter not installed 2012-12-01 14:06:28 +01:00
tests config files systemized 2012-10-10 01:04:23 +02:00
README.markdown readme updated 2012-12-01 21:34:44 +01:00

vim-autoformat

This vim plugin provides bindings for external code-formatting programs. If you have installed a supported formatprogram correctly, it will integrate with vim automatically.

How to install (Vundle)

Put this in your .vimrc

Bundle "Chiel92/vim-autoformat"

Supported formatprograms

  • einars/jsbeautify for javascript (has to be installed as a pathogen-compatible plugin)
  • autopep8 for python (must be globally available)

If you find yourself in need of support for another formatprogram, simply add a configuration file in the folder ftplugin. You can take the existing ones as an example. Oh, and be sure to send me a patch. :)