vim-autoformat/README.markdown

26 lines
731 B
Markdown
Raw Normal View History

2012-09-30 16:09:46 -04:00
vim-autoformat
==============
2012-12-01 15:34:44 -05:00
This vim plugin provides bindings for external code-formatting programs.
If you have installed a supported formatprogram correctly, it will integrate with vim automatically.
2012-12-01 13:03:23 -05:00
How to install (Vundle)
-----------------------
Put this in your .vimrc
```vim
Bundle "Chiel92/vim-autoformat"
```
2012-12-01 15:34:44 -05:00
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. :)