Update README.markdown

This commit is contained in:
Chiel 2012-12-06 23:50:38 +01:00
parent 9ff7d08059
commit 72c2d4406f

View File

@ -33,14 +33,25 @@ Here is a list of formatprograms that are currently supported.
* `astyle` for __C#, C++, C and Java__.
It's probably in your distro's repository, so you can download it as a regular package.
(For Ubuntu type `sudo apt-get install astyle` in a terminal)
Here is the link to the site: http://astyle.sourceforge.net/
* `jsbeautify` (the python version) for __Javascript__.
This one can also be installed as a vundle package (if you use the vundle plugin).
To do so, put this in your .vimrc: `Bundle "einars/jsbeautify"`.
Note that we're only using the python version, so `node` doesn't have to be installed necessarily.
Here is the link to the repository: https://github.com/einars/js-beautify
* `autopep8` for __Python__.
It's probably in your distro's repository, so you can download it as a regular package.
(For Ubuntu type `sudo apt-get install autopep8` in a terminal)
Here is the link to the repository: https://github.com/hhatto/autopep8
And here the link to its page on the python website: http://pypi.python.org/pypi/autopep8/0.5.2
* `phpCB` for __PHP__.
You can download it's binary here
http://www.waterproof.fr/products/phpCodeBeautifier/download.php
I recommend putting the phpCB binary in the `formatters/` directory.
If you find yourself in need of support for another formatprogram, simply add a configuration file in the folder `vim-autoformat/ftplugin/`.
You can take the existing ones as an example.