Commit Graph

396 Commits

Author SHA1 Message Date
Chiel92
495dc9651d Support python cli-version of js-beautify by default 2015-05-30 16:11:37 +02:00
Chiel92
5d90bb9241 Clang-format accepts ranges. Update readme. 2015-05-30 12:12:06 +02:00
Chiel92
bb004752d3 Merge branch 'multiple-formatters' of https://github.com/Chiel92/vim-autoformat into multiple-formatters 2015-05-30 11:59:15 +02:00
Chiel92
b1b6b87309 Update readme. Ranged do not need separate definition. 2015-05-30 11:12:02 +02:00
Chiel92
55fca18a96 Providing range for autopep8 works. 2015-05-30 11:02:07 +02:00
Chiel
fbf04df1a6 Merge pull request #52 from faceleg/multiple-formatters
Added jscs definition for JavaScript
2015-05-27 10:47:30 +02:00
Chiel92
a4533d1769 Update default definitions. Readme update. 2015-05-23 14:25:29 +02:00
Chiel92
2ed8f00bb5 Try all available formatters until one works 2015-05-23 10:02:05 +02:00
Michael Robinson
57b34851c3 Updated jscs default 2015-05-21 01:05:56 +12:00
Michael Robinson
9a9314d351 Added jscs definition for JavaScript 2015-05-21 00:56:29 +12:00
Chiel92
dfd9461f23 Multiple formatters. Don't write errors to buffer.
Using python we can check for formatter errors instead of writing the
errors to the buffer. Multiple formatters can be supplied by lists now.

Backward compatibility breaks:
 - Variable names have changed
 - Formatter is specified as one expression
 - gq has been removed, Autoformat should accept ranges
 - python has to be compiled in

To be done:
 - Find easy way to selected default formatter out of available formatter
 - Make autoformat accept ranges
2015-05-18 19:27:00 +02:00
Chiel92
060ee66c08 Merge branch 'master' of https://github.com/Chiel92/vim-autoformat 2015-05-18 10:26:48 +02:00
Chiel92
efff9565d0 Add gitignore 2015-05-18 10:26:04 +02:00
Chiel
95d6836801 Update README.md
Update todo list.
2015-05-08 11:51:12 +02:00
Chiel92
c16a053519 Take &verbose variable into account. Fix #48. 2015-04-09 10:59:54 +02:00
Chiel92
84f8c1864f Add feature from #46 on todo list. 2015-04-04 11:49:40 +02:00
Chiel92
9e15a035e3 Merge branch 'dani-h-master' 2015-03-24 12:32:15 +01:00
Dani Hodovic
074b2ac463 Added README.md info for TypeScript formatting 2015-03-22 20:30:10 +01:00
Dani Hodovic
c6afe09669 Added TypeScript formatting options
vvakame/typescript-formatter now support reading from stdin, but a
filename has to be specified. I've tried it with both unsaved and saved
buffers and it works fine.
2015-03-22 17:03:36 +01:00
Chiel92
ffc0937d7b Update README.md
Fix #43.
2015-03-12 12:32:50 +01:00
Chiel92
e8e2704daa Update README.md
Style fix
2015-03-12 12:28:24 +01:00
Chiel92
4f1b27052e Update README about python version of js-beautify not supported by default 2015-03-12 12:23:52 +01:00
Chiel92
5fac8d0d3a Supply license. Fix #42. 2015-03-12 09:12:11 +01:00
Chiel92
2f86f88170 Add line in README about python version of js-beautify not being
supported.
2015-03-04 12:56:10 +01:00
Chiel92
b25b08fd5f Add support for composite filetypes. Fix #37. 2015-01-12 14:17:27 +01:00
Chiel92
8ea12e45d6 Merge branch 'alexdunn-master' 2015-01-08 12:01:45 +01:00
Chiel92
0df099e63e Minor style fixes 2015-01-08 12:01:07 +01:00
Alex Dunn
8446318085 Fix #34: Add Objective-C Support 2015-01-08 01:48:38 -08:00
Chiel92
87a864c254 Update README.md 2015-01-02 22:26:03 +01:00
Chiel92
c7a414007a Merge pull request #32 from veelenga/master
Compatible ruby
2014-12-12 09:26:05 +01:00
veelenga
2e4b826a1f Added note about compatible ruby version
* `rbeautify` for __Ruby__.
 It is shipped with `ruby-beautify`, which can be installed by running `gem install ruby-beautify`.
-Note that compatible `ruby-beautify-0.94.0` or higher version.
-Here is the link to the repository: https://github.com/erniebrodeur/ruby-beautify
+Note that compatible `ruby-beautify-0.94.0` or higher version.
+Here is the link to the repository: https://github.com/erniebrodeur/ruby-beautify.
+This beautifier developed and tested with ruby `2.0+`, so you can have weird results with earlier ruby versions.

 How can I change the behaviour of formatters, or add one myself?
 ---------------------------------------------
2014-12-12 09:17:14 +02:00
Chiel92
b916d07c2e Merge branch 'veelenga-ruby-beautify' 2014-12-11 10:12:16 +01:00
veelenga
8ebeae7ef1 Corrected gem name 2014-12-11 09:11:04 +02:00
veelenga
7f16613cea Added description to default formatprograms 2014-12-11 09:05:48 +02:00
veelenga
1b5d33ea34 Added ruby sample 2014-12-11 08:57:54 +02:00
veelenga
bde27cd815 Use &shiftwidth only when &expandtab option set 2014-12-11 08:50:27 +02:00
veelenga
ca5e8f9791 Markdown now states about added ruby beautifier 2014-12-09 12:22:15 +02:00
veelenga
85924b0f5f rbeautify as a beautifier for ruby 2014-12-09 12:17:30 +02:00
Chiel92
3038a4e3b9 t push origin masterMerge branch 'chaucerbao-feature/add-scss-formatter' 2014-09-26 22:53:55 +02:00
Alvin Chan
006607282a Add a missing period in the README 2014-09-26 11:02:01 -07:00
Alvin Chan
a9514f2085 Update README to include SASS details 2014-09-26 11:00:08 -07:00
Alvin Chan
29130fd1bd Add SCSS formatting using sass-convert 2014-09-26 10:29:06 -07:00
Chiel92
c2487fdeb0 Merge branch 'master' of https://github.com/Chiel92/vim-autoformat 2014-09-12 11:12:59 +02:00
Chiel92
fbaa668878 Changed /dev/stdin to - in python definition. Fix #11 #24. 2014-09-12 11:11:02 +02:00
Chiel92
9c38f9275b Merge pull request #29 from liuyang1/patch-1
Update README.md
2014-08-26 17:53:52 +02:00
Procras
89d6d2f94c Update README.md
update to new vundle pulgin manager
2014-08-26 22:58:22 +08:00
Chiel92
5f6b0bcd22 Merge branch 'davibe-master' 2014-08-19 13:32:50 +02:00
Davide
b070dfd4b8 reflect 'textwidth' in js formatting
Reflect value of vim textwidth in js formatter commandline arguments (formatprg_args_expr_javascript)
2014-08-19 13:03:30 +02:00
Chiel92
993c8a6b31 Merge branch 'shanesmith-typeArgument' 2014-06-30 09:23:36 +02:00
Chiel92
bef62e459c Merge branch 'typeArgument' of github.com:shanesmith/vim-autoformat into shanesmith-typeArgument 2014-06-30 09:22:11 +02:00