readme updated

This commit is contained in:
Chiel92 2012-12-01 21:34:44 +01:00
parent 4071472aed
commit 27d0757b83

View File

@ -1,12 +1,9 @@
vim-autoformat vim-autoformat
============== ==============
This vim plugin provides bindings for external code format programs. This vim plugin provides bindings for external code-formatting programs.
If you have installed a supported formatter correctly, it will integrate with vim automatically. If you have installed a supported formatprogram correctly, it will integrate with vim automatically.
Supported programs:
* einars/jsbeautify for javascript (has to be installed as a pathogen-compatible plugin)
* autopep8 for python (must be globally available)
How to install (Vundle) How to install (Vundle)
----------------------- -----------------------
@ -17,3 +14,12 @@ Put this in your .vimrc
Bundle "Chiel92/vim-autoformat" 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. :)